Skip to content

policy deletion not failing if id not found #120

@strantalis

Description

@strantalis

When we call the exec function for executing a db query with a DELETE statement it appears to not error when passing in a non-existent uuid for a resource.

I think a solution for this is to return the affected rows after an exec call from [pgconn.CommandTag[(https://pkg.go.dev/github.com/jackc/pgconn#CommandTag.RowsAffected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomp:dbDB component

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions