Query returns a query builder for CASBackend.
()
| 783 | |
| 784 | // Query returns a query builder for CASBackend. |
| 785 | func (c *CASBackendClient) Query() *CASBackendQuery { |
| 786 | return &CASBackendQuery{ |
| 787 | config: c.config, |
| 788 | ctx: &QueryContext{Type: TypeCASBackend}, |
| 789 | inters: c.Interceptors(), |
| 790 | } |
| 791 | } |
| 792 | |
| 793 | // Get returns a CASBackend entity by its id. |
| 794 | func (c *CASBackendClient) Get(ctx context.Context, id uuid.UUID) (*CASBackend, error) { |