mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
ent: add AND operator for type predicates
Reviewed By: alexsn Differential Revision: D16668249 fbshipit-source-id: 1554c3af9779fd551a90218c604d23b5bf8b8c6b
This commit is contained in:
committed by
Facebook Github Bot
parent
4565455ee4
commit
2fd1b728f3
@@ -17,6 +17,9 @@ func Has(args ...interface{}) *dsl.Traversal { return New().Has(args...) }
|
||||
// Or is the api for calling __.Or().
|
||||
func Or(args ...interface{}) *dsl.Traversal { return New().Or(args...) }
|
||||
|
||||
// And is the api for calling __.And().
|
||||
func And(args ...interface{}) *dsl.Traversal { return New().And(args...) }
|
||||
|
||||
// In is the api for calling __.In().
|
||||
func In(args ...interface{}) *dsl.Traversal { return New().In(args...) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user