Query returns a query builder for File.
()
| 903 | |
| 904 | // Query returns a query builder for File. |
| 905 | func (c *FileClient) Query() *FileQuery { |
| 906 | return &FileQuery{ |
| 907 | config: c.config, |
| 908 | ctx: &QueryContext{Type: TypeFile}, |
| 909 | inters: c.Interceptors(), |
| 910 | } |
| 911 | } |
| 912 | |
| 913 | // Get returns a File entity by its id. |
| 914 | func (c *FileClient) Get(ctx context.Context, id int) (*File, error) { |
no test coverage detected