CdsRestDataProviderDefs.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace CDSRestDataProvider {
public struct QueryOperatorInfo {
string op;
auto arg;
};
const QUERY_OP_CONTAINS = "contains";
const QUERY_OP_ENDSWITH = "endswith";
const QUERY_OP_STARTSWITH = "startswith";
const QUERY_OP_LT = "lt";
const QUERY_OP_LE = "le";
const QUERY_OP_GT = "gt";
const QUERY_OP_GE = "ge";
const QUERY_OP_NE = "ne";
const QUERY_OP_EQ = "eq";
const QUERY_OP_NOT = "not";
const QUERY_OP_OR = "or";
hash<QueryOperatorInfo> query_make_op(string op, auto arg);
hash<QueryOperatorInfo> query_op_like(string str);
hash<QueryOperatorInfo> query_op_contains(string str);
hash<QueryOperatorInfo> query_op_lt(auto arg);
hash<QueryOperatorInfo> query_op_le(auto arg);
hash<QueryOperatorInfo> query_op_gt(auto arg);
hash<QueryOperatorInfo> query_op_ge(auto arg);
hash<QueryOperatorInfo> query_op_ne(auto arg);
hash<QueryOperatorInfo> query_op_eq(auto arg);
hash<QueryOperatorInfo> query_op_not(hash arg);
hash<string, hash<QueryOperatorInfo>> query_wop_or(hash<auto> h1, hash<auto> h2);
const DefaultQueryOpMap = ...;
};
hash
hash< auto > hash(object obj)
CDSRestDataProvider
Qore CDSRestDataProviderDefs definitions.
Definition: CdsRestDataProviderDefs.qc.dox.h:26
CDSRestDataProvider::query_op_not
hash< QueryOperatorInfo > query_op_not(hash arg)
returns an QueryOperatorInfo hash for the "not" operator; for use in cds queries
CDSRestDataProvider::query_op_like
hash< QueryOperatorInfo > query_op_like(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
CDSRestDataProvider::query_op_ne
hash< QueryOperatorInfo > query_op_ne(auto arg)
returns an QueryOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in cd...
CDSRestDataProvider::QUERY_OP_ENDSWITH
const QUERY_OP_ENDSWITH
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:42
CDSRestDataProvider::QUERY_OP_EQ
const QUERY_OP_EQ
the Query equals operator (=) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:75
CDSRestDataProvider::QUERY_OP_OR
const QUERY_OP_OR
to combine Query expressions with "or" for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:85
CDSRestDataProvider::QUERY_OP_LE
const QUERY_OP_LE
the Query less than or equals (<=) operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:55
CDSRestDataProvider::QUERY_OP_GE
const QUERY_OP_GE
the Query greater than or equals operator (>=) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:65
CDSRestDataProvider::query_op_gt
hash< QueryOperatorInfo > query_op_gt(auto arg)
returns an QueryOperatorInfo hash for the ">" operator with the given argument for use in cds queries...
CDSRestDataProvider::query_op_le
hash< QueryOperatorInfo > query_op_le(auto arg)
returns an QueryOperatorInfo hash for the "<=" operator with the given argument for use in cds querie...
CDSRestDataProvider::query_op_lt
hash< QueryOperatorInfo > query_op_lt(auto arg)
returns an QueryOperatorInfo hash for the "<" operator with the given argument for use in cds queries...
CDSRestDataProvider::query_op_contains
hash< QueryOperatorInfo > query_op_contains(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
CDSRestDataProvider::QUERY_OP_STARTSWITH
const QUERY_OP_STARTSWITH
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:45
CDSRestDataProvider::query_op_eq
hash< QueryOperatorInfo > query_op_eq(auto arg)
returns an QueryOperatorInfo hash for the "=" operator with the given argument for use in cds queries...
CDSRestDataProvider::QUERY_OP_NE
const QUERY_OP_NE
the Query not equals operator (!= or <>) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:70
CDSRestDataProvider::QUERY_OP_NOT
const QUERY_OP_NOT
the Query "not" operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:80
CDSRestDataProvider::DefaultQueryOpMap
const DefaultQueryOpMap
a hash of valid operators for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:239
CDSRestDataProvider::QUERY_OP_GT
const QUERY_OP_GT
the Query greater than operator (>) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:60
CDSRestDataProvider::query_make_op
hash< QueryOperatorInfo > query_make_op(string op, auto arg)
returns an QueryOperatorInfo hash
CDSRestDataProvider::query_wop_or
hash< string, hash< QueryOperatorInfo > > query_wop_or(hash< auto > h1, hash< auto > h2)
returns an QueryOperatorInfo hash with a fake "_OR_" column name; the list of arguments to the functi...
CDSRestDataProvider::QUERY_OP_LT
const QUERY_OP_LT
the Query less than (<) operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:50
CDSRestDataProvider::QUERY_OP_CONTAINS
const QUERY_OP_CONTAINS
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:39
CDSRestDataProvider::query_op_ge
hash< QueryOperatorInfo > query_op_ge(auto arg)
returns an QueryOperatorInfo hash for the ">=" operator with the given argument for use in cds querie...
CDSRestDataProvider::QueryOperatorInfo
Query operator info hash as returned by all operator functions.
Definition: CdsRestDataProviderDefs.qc.dox.h:28
CDSRestDataProvider::QueryOperatorInfo::op
string op
the operator string code
Definition: CdsRestDataProviderDefs.qc.dox.h:29
CDSRestDataProvider::QueryOperatorInfo::arg
auto arg
optional argument
Definition: CdsRestDataProviderDefs.qc.dox.h:30