(s string)
| 156 | } |
| 157 | |
| 158 | func toStringPtr(s string) *string { |
| 159 | if s == "" { |
| 160 | return nil |
| 161 | } |
| 162 | return &s |
| 163 | } |
| 164 | |
| 165 | func orgScopedQuery(client *ent.Client, orgID uuid.UUID) *ent.OrganizationQuery { |
| 166 | return client.Organization.Query().Where(organization.ID(orgID), organization.DeletedAtIsNil()) |
no outgoing calls
no test coverage detected