(ctx context.Context, groupID string)
| 1086 | } |
| 1087 | |
| 1088 | func (c *connection) DeleteUsergroup(ctx context.Context, groupID string) error { |
| 1089 | res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM usergroups WHERE id=$1", groupID) |
| 1090 | return checkDeleteRow("usergroup", res, err) |
| 1091 | } |
| 1092 | |
| 1093 | func (c *connection) FindUsergroupsForUser(ctx context.Context, userID, orgID string) ([]*database.Usergroup, error) { |
| 1094 | var res []*database.Usergroup |
nothing calls this directly
no test coverage detected