@@ -41,7 +41,7 @@ const findBookByIdIR: any = {"usedParamSet":{"id":true},"params":[{"name":"id","
41
41
* SELECT * FROM books WHERE id = :id
42
42
* ```
43
43
*/
44
- export const findBookById = new PreparedQuery < IFindBookByIdParams , IFindBookByIdResult > ( findBookByIdIR ) ;
44
+ export const findBookById = new PreparedQuery < IFindBookByIdParams , IFindBookByIdResult > ( "findBookById" , findBookByIdIR ) ;
45
45
46
46
47
47
/** 'FindBookByCategory' parameters type */
@@ -72,7 +72,7 @@ const findBookByCategoryIR: any = {"usedParamSet":{"category":true},"params":[{"
72
72
* SELECT * FROM books WHERE :category = ANY(categories)
73
73
* ```
74
74
*/
75
- export const findBookByCategory = new PreparedQuery < IFindBookByCategoryParams , IFindBookByCategoryResult > ( findBookByCategoryIR ) ;
75
+ export const findBookByCategory = new PreparedQuery < IFindBookByCategoryParams , IFindBookByCategoryResult > ( "findBookByCategory" , findBookByCategoryIR ) ;
76
76
77
77
78
78
/** 'FindBookNameOrRank' parameters type */
@@ -103,7 +103,7 @@ const findBookNameOrRankIR: any = {"usedParamSet":{"name":true,"rank":true},"par
103
103
* WHERE (name = :name OR rank = :rank)
104
104
* ```
105
105
*/
106
- export const findBookNameOrRank = new PreparedQuery < IFindBookNameOrRankParams , IFindBookNameOrRankResult > ( findBookNameOrRankIR ) ;
106
+ export const findBookNameOrRank = new PreparedQuery < IFindBookNameOrRankParams , IFindBookNameOrRankResult > ( "findBookNameOrRank" , findBookNameOrRankIR ) ;
107
107
108
108
109
109
/** 'FindBookUnicode' parameters type */
@@ -132,7 +132,7 @@ const findBookUnicodeIR: any = {"usedParamSet":{},"params":[],"statement":"SELEC
132
132
* SELECT * FROM books WHERE name = 'שקל'
133
133
* ```
134
134
*/
135
- export const findBookUnicode = new PreparedQuery < IFindBookUnicodeParams , IFindBookUnicodeResult > ( findBookUnicodeIR ) ;
135
+ export const findBookUnicode = new PreparedQuery < IFindBookUnicodeParams , IFindBookUnicodeResult > ( "findBookUnicode" , findBookUnicodeIR ) ;
136
136
137
137
138
138
/** 'InsertBooks' parameters type */
@@ -165,7 +165,7 @@ const insertBooksIR: any = {"usedParamSet":{"books":true},"params":[{"name":"boo
165
165
* VALUES :books RETURNING id as book_id
166
166
* ```
167
167
*/
168
- export const insertBooks = new PreparedQuery < IInsertBooksParams , IInsertBooksResult > ( insertBooksIR ) ;
168
+ export const insertBooks = new PreparedQuery < IInsertBooksParams , IInsertBooksResult > ( "insertBooks" , insertBooksIR ) ;
169
169
170
170
171
171
/** 'UpdateBooksCustom' parameters type */
@@ -199,7 +199,7 @@ const updateBooksCustomIR: any = {"usedParamSet":{"rank":true,"id":true},"params
199
199
* WHERE id = :id!
200
200
* ```
201
201
*/
202
- export const updateBooksCustom = new PreparedQuery < IUpdateBooksCustomParams , IUpdateBooksCustomResult > ( updateBooksCustomIR ) ;
202
+ export const updateBooksCustom = new PreparedQuery < IUpdateBooksCustomParams , IUpdateBooksCustomResult > ( "updateBooksCustom" , updateBooksCustomIR ) ;
203
203
204
204
205
205
/** 'UpdateBooks' parameters type */
@@ -231,7 +231,7 @@ const updateBooksIR: any = {"usedParamSet":{"name":true,"rank":true,"id":true},"
231
231
* WHERE id = :id!
232
232
* ```
233
233
*/
234
- export const updateBooks = new PreparedQuery < IUpdateBooksParams , IUpdateBooksResult > ( updateBooksIR ) ;
234
+ export const updateBooks = new PreparedQuery < IUpdateBooksParams , IUpdateBooksResult > ( "updateBooks" , updateBooksIR ) ;
235
235
236
236
237
237
/** 'UpdateBooksRankNotNull' parameters type */
@@ -262,7 +262,7 @@ const updateBooksRankNotNullIR: any = {"usedParamSet":{"rank":true,"name":true,"
262
262
* WHERE id = :id!
263
263
* ```
264
264
*/
265
- export const updateBooksRankNotNull = new PreparedQuery < IUpdateBooksRankNotNullParams , IUpdateBooksRankNotNullResult > ( updateBooksRankNotNullIR ) ;
265
+ export const updateBooksRankNotNull = new PreparedQuery < IUpdateBooksRankNotNullParams , IUpdateBooksRankNotNullResult > ( "updateBooksRankNotNull" , updateBooksRankNotNullIR ) ;
266
266
267
267
268
268
/** 'GetBooksByAuthorName' parameters type */
@@ -295,7 +295,7 @@ const getBooksByAuthorNameIR: any = {"usedParamSet":{"authorName":true},"params"
295
295
* WHERE a.first_name || ' ' || a.last_name = :authorName!
296
296
* ```
297
297
*/
298
- export const getBooksByAuthorName = new PreparedQuery < IGetBooksByAuthorNameParams , IGetBooksByAuthorNameResult > ( getBooksByAuthorNameIR ) ;
298
+ export const getBooksByAuthorName = new PreparedQuery < IGetBooksByAuthorNameParams , IGetBooksByAuthorNameResult > ( "getBooksByAuthorName" , getBooksByAuthorNameIR ) ;
299
299
300
300
301
301
/** 'AggregateEmailsAndTest' parameters type */
@@ -323,7 +323,7 @@ const aggregateEmailsAndTestIR: any = {"usedParamSet":{"testAges":true},"params"
323
323
* SELECT array_agg(email) as "emails!", array_agg(age) = :testAges as ageTest FROM users
324
324
* ```
325
325
*/
326
- export const aggregateEmailsAndTest = new PreparedQuery < IAggregateEmailsAndTestParams , IAggregateEmailsAndTestResult > ( aggregateEmailsAndTestIR ) ;
326
+ export const aggregateEmailsAndTest = new PreparedQuery < IAggregateEmailsAndTestParams , IAggregateEmailsAndTestResult > ( "aggregateEmailsAndTest" , aggregateEmailsAndTestIR ) ;
327
327
328
328
329
329
/** 'GetBooks' parameters type */
@@ -349,7 +349,7 @@ const getBooksIR: any = {"usedParamSet":{},"params":[],"statement":"SELECT id, n
349
349
* SELECT id, name as "name!" FROM books
350
350
* ```
351
351
*/
352
- export const getBooks = new PreparedQuery < IGetBooksParams , IGetBooksResult > ( getBooksIR ) ;
352
+ export const getBooks = new PreparedQuery < IGetBooksParams , IGetBooksResult > ( "getBooks" , getBooksIR ) ;
353
353
354
354
355
355
/** 'CountBooks' parameters type */
@@ -374,7 +374,7 @@ const countBooksIR: any = {"usedParamSet":{},"params":[],"statement":"SELECT cou
374
374
* SELECT count(*) as book_count FROM books
375
375
* ```
376
376
*/
377
- export const countBooks = new PreparedQuery < ICountBooksParams , ICountBooksResult > ( countBooksIR ) ;
377
+ export const countBooks = new PreparedQuery < ICountBooksParams , ICountBooksResult > ( "countBooks" , countBooksIR ) ;
378
378
379
379
380
380
/** 'GetBookCountries' parameters type */
@@ -400,6 +400,6 @@ const getBookCountriesIR: any = {"usedParamSet":{},"params":[],"statement":"SELE
400
400
* SELECT * FROM book_country
401
401
* ```
402
402
*/
403
- export const getBookCountries = new PreparedQuery < IGetBookCountriesParams , IGetBookCountriesResult > ( getBookCountriesIR ) ;
403
+ export const getBookCountries = new PreparedQuery < IGetBookCountriesParams , IGetBookCountriesResult > ( "getBookCountries" , getBookCountriesIR ) ;
404
404
405
405
0 commit comments