Query returns a query builder for User.
()
| 3104 | |
| 3105 | // Query returns a query builder for User. |
| 3106 | func (c *UserClient) Query() *UserQuery { |
| 3107 | return &UserQuery{ |
| 3108 | config: c.config, |
| 3109 | ctx: &QueryContext{Type: TypeUser}, |
| 3110 | inters: c.Interceptors(), |
| 3111 | } |
| 3112 | } |
| 3113 | |
| 3114 | // Get returns a User entity by its id. |
| 3115 | func (c *UserClient) Get(ctx context.Context, id uuid.UUID) (*User, error) { |
no test coverage detected