RqlQuery constructor
Implementation
RqlQuery([List? args, Map? optargs]) {
if (args != null) {
args.forEach((e) {
if (_checkIfOptions(e, tt!)) {
optargs ??= e;
} else if (e != null) {
this.args.add(_expr(e));
}
});
}
if (optargs != null) {
optargs!.forEach((k, v) {
if ((k == "conflict") && (v is Function)) {
this.optargs[k] = _expr(v, defaultNestingDepth, 3);
} else {
this.optargs[k] = _expr(v);
}
});
}
}