File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " strontium" ,
3
- "version" : " 2.2.2 " ,
3
+ "version" : " 2.2.3 " ,
4
4
"description" : " Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects." ,
5
5
"main" : " lib/src/index.js" ,
6
6
"types" : " lib/src/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -118,14 +118,12 @@ export abstract class TableRepository<
118
118
119
119
if ( pagination . limit ) {
120
120
lookupQuery = `${ lookupQuery }
121
- LIMIT ?`
122
- parameters . push ( pagination . limit )
121
+ LIMIT ${ pagination . limit } `
123
122
}
124
123
125
124
if ( pagination . offset ) {
126
125
lookupQuery = `${ lookupQuery }
127
- OFFSET ?`
128
- parameters . push ( pagination . offset )
126
+ OFFSET ${ pagination . offset } `
129
127
}
130
128
131
129
let [ processedQuery , processedParameters ] = pgQueryPostProcessor (
You can’t perform that action at this time.
0 commit comments