(ctx context.Context, name string)
| 140 | } |
| 141 | |
| 142 | func (c *connection) DeleteOrganization(ctx context.Context, name string) error { |
| 143 | res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM orgs WHERE lower(name)=lower($1)", name) |
| 144 | return checkDeleteRow("org", res, err) |
| 145 | } |
| 146 | |
| 147 | func (c *connection) UpdateOrganization(ctx context.Context, id string, opts *database.UpdateOrganizationOptions) (*database.Organization, error) { |
| 148 | if err := database.Validate(opts); err != nil { |
nothing calls this directly
no test coverage detected