diff --git a/packages/driver/src/datatypes/range.ts b/packages/driver/src/datatypes/range.ts index 8592c6ed4..df6be3f75 100644 --- a/packages/driver/src/datatypes/range.ts +++ b/packages/driver/src/datatypes/range.ts @@ -26,7 +26,7 @@ export class Range< constructor( private readonly _lower: T | null, private readonly _upper: T | null, - private readonly _incLower: boolean = true, + private readonly _incLower: boolean = _lower != null, private readonly _incUpper: boolean = false ) {}