in src/SqlProviderBase.ts [1240:1253]
private _getRangeChecks(keyLowRange: KeyType, keyHighRange: KeyType, lowRangeExclusive?: boolean,
highRangeExclusive?: boolean) {
let checks: string[] = [];
let args: string[] = [];
if (keyLowRange !== null && keyLowRange !== undefined) {
checks.push(this._queryColumn + (lowRangeExclusive ? ' > ' : ' >= ') + '?');
args.push(serializeKeyToString(keyLowRange, this._keyPath));
}
if (keyHighRange !== null && keyHighRange !== undefined) {
checks.push(this._queryColumn + (highRangeExclusive ? ' < ' : ' <= ') + '?');
args.push(serializeKeyToString(keyHighRange, this._keyPath));
}
return { checks: checks.join(' AND '), args };
}