Where adds a new predicate for the EntityQuery builder.
(ps ...predicate.Entity)
| 35 | |
| 36 | // Where adds a new predicate for the EntityQuery builder. |
| 37 | func (eq *EntityQuery) Where(ps ...predicate.Entity) *EntityQuery { |
| 38 | eq.predicates = append(eq.predicates, ps...) |
| 39 | return eq |
| 40 | } |
| 41 | |
| 42 | // Limit the number of records to be returned by this query. |
| 43 | func (eq *EntityQuery) Limit(limit int) *EntityQuery { |
no outgoing calls
no test coverage detected