File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " database-builder" ,
3- "version" : " 0.0.11 " ,
3+ "version" : " 0.0.12 " ,
44 "description" : " Framework to assist in database manipulation (DDL and CRUD)" ,
55 "main" : " ./src/index.js" ,
66 "types" : " ./src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ export class WhereBuilder<T> {
404404 case [ Condition . Not , Condition . Between ] . toString ( ) :
405405 // ${column} BETWEEN ? AND ?
406406 if ( column2 . length === 2 ) {
407- return `${ column1 } ${ this . builderConditions ( conditions ) } ${ column2 [ 0 ] } ${ WhereBuilder . AND } ${ column2 [ 0 ] } ` ;
407+ return `${ column1 } ${ this . builderConditions ( conditions ) } ${ column2 [ 0 ] } ${ WhereBuilder . AND } ${ column2 [ 1 ] } ` ;
408408 }
409409 throw new Error ( `Length (${ column2 . length } ) parameter to '${ conditions } ' condition incorrect!` ) ;
410410 case [ Condition . In ] . toString ( ) :
You can’t perform that action at this time.
0 commit comments