Query returns a query builder for FsEvent.
()
| 1165 | |
| 1166 | // Query returns a query builder for FsEvent. |
| 1167 | func (c *FsEventClient) Query() *FsEventQuery { |
| 1168 | return &FsEventQuery{ |
| 1169 | config: c.config, |
| 1170 | ctx: &QueryContext{Type: TypeFsEvent}, |
| 1171 | inters: c.Interceptors(), |
| 1172 | } |
| 1173 | } |
| 1174 | |
| 1175 | // Get returns a FsEvent entity by its id. |
| 1176 | func (c *FsEventClient) Get(ctx context.Context, id int) (*FsEvent, error) { |