KadeDB Developer Documentation
Contents:
Guides
API Reference
Predicate Builder Helpers
- 
inline Predicate cmp(const std::string &col, Predicate::Op op, std::unique_ptr<Value> rhs)
- Build a comparison node for a relational column. 
- 
inline Predicate And(std::vector<Predicate> cs)
- Build an AND node from an explicit vector of child predicates. 
- 
inline Predicate Or(std::vector<Predicate> cs)
- Build an OR node from an explicit vector of child predicates. 
- 
template<typename ...Ps>
 inline Predicate And(Ps&&... ps)
- Variadic AND (relational). Accepts move-constructed children and builds the vector internally. 
- 
template<typename ...Ps>
 inline Predicate Or(Ps&&... ps)
- Variadic OR (relational). Accepts move-constructed children and builds the vector internally. 
- 
inline Predicate Not(Predicate c)
- Build a NOT node for relational predicates. 
- 
inline DocPredicate dcmp(const std::string &field, DocPredicate::Op op, std::unique_ptr<Value> rhs)
- Build a comparison node for a document field. 
- 
inline DocPredicate And(std::vector<DocPredicate> cs)
- Build an AND node from an explicit vector of document child predicates. 
- 
inline DocPredicate Or(std::vector<DocPredicate> cs)
- Build an OR node from an explicit vector of document child predicates. 
- 
inline DocPredicate Not(DocPredicate c)
- Build a NOT node for document predicates.