CosmicMind / Graph

Graph is a semantic database that is used to create data-driven applications.
http://cosmicmind.com
MIT License
873 stars 72 forks source link

SearchCondition support for member(of:) and has(tags:) #149

Closed OrkhanAlikhanov closed 6 years ago

OrkhanAlikhanov commented 6 years ago

member(of groups: [String]) and has(tags: [String]) should be able to be queried with or and and search condition. Just like in Search

person.member(of: ["family", "parent"], using: .and)
person.has(tags: ["family", "parent"], using: .or)
daniel-jonathan commented 6 years ago

Solved in https://github.com/CosmicMind/Graph/pull/151#pullrequestreview-145835988