(ctx context.Context, id string)
| 1679 | } |
| 1680 | |
| 1681 | func (c *connection) DeleteMagicAuthToken(ctx context.Context, id string) error { |
| 1682 | res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM magic_auth_tokens WHERE id=$1", id) |
| 1683 | return checkDeleteRow("magic auth token", res, err) |
| 1684 | } |
| 1685 | |
| 1686 | func (c *connection) DeleteMagicAuthTokens(ctx context.Context, ids []string) error { |
| 1687 | _, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM magic_auth_tokens WHERE id=ANY($1)", ids) |
nothing calls this directly
no test coverage detected