Intercept adds a list of query interceptors to the interceptors stack. A call to `Intercept(f, g, h)` equals to `user.Intercept(f(g(h())))`.
(interceptors ...Interceptor)
| 2838 | // Intercept adds a list of query interceptors to the interceptors stack. |
| 2839 | // A call to `Intercept(f, g, h)` equals to `user.Intercept(f(g(h())))`. |
| 2840 | func (c *UserClient) Intercept(interceptors ...Interceptor) { |
| 2841 | c.inters.User = append(c.inters.User, interceptors...) |
| 2842 | } |
| 2843 | |
| 2844 | // Create returns a builder for creating a User entity. |
| 2845 | func (c *UserClient) Create() *UserCreate { |
nothing calls this directly
no outgoing calls
no test coverage detected