Query returns a query builder for AllowListItem.
()
| 720 | |
| 721 | // Query returns a query builder for AllowListItem. |
| 722 | func (c *AllowListItemClient) Query() *AllowListItemQuery { |
| 723 | return &AllowListItemQuery{ |
| 724 | config: c.config, |
| 725 | ctx: &QueryContext{Type: TypeAllowListItem}, |
| 726 | inters: c.Interceptors(), |
| 727 | } |
| 728 | } |
| 729 | |
| 730 | // Get returns a AllowListItem entity by its id. |
| 731 | func (c *AllowListItemClient) Get(ctx context.Context, id int) (*AllowListItem, error) { |