Query returns a query builder for CASMapping.
()
| 948 | |
| 949 | // Query returns a query builder for CASMapping. |
| 950 | func (c *CASMappingClient) Query() *CASMappingQuery { |
| 951 | return &CASMappingQuery{ |
| 952 | config: c.config, |
| 953 | ctx: &QueryContext{Type: TypeCASMapping}, |
| 954 | inters: c.Interceptors(), |
| 955 | } |
| 956 | } |
| 957 | |
| 958 | // Get returns a CASMapping entity by its id. |
| 959 | func (c *CASMappingClient) Get(ctx context.Context, id uuid.UUID) (*CASMapping, error) { |