@@ -41,7 +41,7 @@ const findBookByIdIR: any = {"usedParamSet":{"id":true},"params":[{"name":"id","
4141 * SELECT * FROM books WHERE id = :id
4242 * ```
4343 */
44- export const findBookById = new PreparedQuery < IFindBookByIdParams , IFindBookByIdResult > ( findBookByIdIR ) ;
44+ export const findBookById = new PreparedQuery < IFindBookByIdParams , IFindBookByIdResult > ( "findBookById" , findBookByIdIR ) ;
4545
4646
4747/** 'FindBookByCategory' parameters type */
@@ -72,7 +72,7 @@ const findBookByCategoryIR: any = {"usedParamSet":{"category":true},"params":[{"
7272 * SELECT * FROM books WHERE :category = ANY(categories)
7373 * ```
7474 */
75- export const findBookByCategory = new PreparedQuery < IFindBookByCategoryParams , IFindBookByCategoryResult > ( findBookByCategoryIR ) ;
75+ export const findBookByCategory = new PreparedQuery < IFindBookByCategoryParams , IFindBookByCategoryResult > ( "findBookByCategory" , findBookByCategoryIR ) ;
7676
7777
7878/** 'FindBookNameOrRank' parameters type */
@@ -103,7 +103,7 @@ const findBookNameOrRankIR: any = {"usedParamSet":{"name":true,"rank":true},"par
103103 * WHERE (name = :name OR rank = :rank)
104104 * ```
105105 */
106- export const findBookNameOrRank = new PreparedQuery < IFindBookNameOrRankParams , IFindBookNameOrRankResult > ( findBookNameOrRankIR ) ;
106+ export const findBookNameOrRank = new PreparedQuery < IFindBookNameOrRankParams , IFindBookNameOrRankResult > ( "findBookNameOrRank" , findBookNameOrRankIR ) ;
107107
108108
109109/** 'FindBookUnicode' parameters type */
@@ -132,7 +132,7 @@ const findBookUnicodeIR: any = {"usedParamSet":{},"params":[],"statement":"SELEC
132132 * SELECT * FROM books WHERE name = 'שקל'
133133 * ```
134134 */
135- export const findBookUnicode = new PreparedQuery < IFindBookUnicodeParams , IFindBookUnicodeResult > ( findBookUnicodeIR ) ;
135+ export const findBookUnicode = new PreparedQuery < IFindBookUnicodeParams , IFindBookUnicodeResult > ( "findBookUnicode" , findBookUnicodeIR ) ;
136136
137137
138138/** 'InsertBooks' parameters type */
@@ -165,7 +165,7 @@ const insertBooksIR: any = {"usedParamSet":{"books":true},"params":[{"name":"boo
165165 * VALUES :books RETURNING id as book_id
166166 * ```
167167 */
168- export const insertBooks = new PreparedQuery < IInsertBooksParams , IInsertBooksResult > ( insertBooksIR ) ;
168+ export const insertBooks = new PreparedQuery < IInsertBooksParams , IInsertBooksResult > ( "insertBooks" , insertBooksIR ) ;
169169
170170
171171/** 'UpdateBooksCustom' parameters type */
@@ -199,7 +199,7 @@ const updateBooksCustomIR: any = {"usedParamSet":{"rank":true,"id":true},"params
199199 * WHERE id = :id!
200200 * ```
201201 */
202- export const updateBooksCustom = new PreparedQuery < IUpdateBooksCustomParams , IUpdateBooksCustomResult > ( updateBooksCustomIR ) ;
202+ export const updateBooksCustom = new PreparedQuery < IUpdateBooksCustomParams , IUpdateBooksCustomResult > ( "updateBooksCustom" , updateBooksCustomIR ) ;
203203
204204
205205/** 'UpdateBooks' parameters type */
@@ -231,7 +231,7 @@ const updateBooksIR: any = {"usedParamSet":{"name":true,"rank":true,"id":true},"
231231 * WHERE id = :id!
232232 * ```
233233 */
234- export const updateBooks = new PreparedQuery < IUpdateBooksParams , IUpdateBooksResult > ( updateBooksIR ) ;
234+ export const updateBooks = new PreparedQuery < IUpdateBooksParams , IUpdateBooksResult > ( "updateBooks" , updateBooksIR ) ;
235235
236236
237237/** 'UpdateBooksRankNotNull' parameters type */
@@ -262,7 +262,7 @@ const updateBooksRankNotNullIR: any = {"usedParamSet":{"rank":true,"name":true,"
262262 * WHERE id = :id!
263263 * ```
264264 */
265- export const updateBooksRankNotNull = new PreparedQuery < IUpdateBooksRankNotNullParams , IUpdateBooksRankNotNullResult > ( updateBooksRankNotNullIR ) ;
265+ export const updateBooksRankNotNull = new PreparedQuery < IUpdateBooksRankNotNullParams , IUpdateBooksRankNotNullResult > ( "updateBooksRankNotNull" , updateBooksRankNotNullIR ) ;
266266
267267
268268/** 'GetBooksByAuthorName' parameters type */
@@ -295,7 +295,7 @@ const getBooksByAuthorNameIR: any = {"usedParamSet":{"authorName":true},"params"
295295 * WHERE a.first_name || ' ' || a.last_name = :authorName!
296296 * ```
297297 */
298- export const getBooksByAuthorName = new PreparedQuery < IGetBooksByAuthorNameParams , IGetBooksByAuthorNameResult > ( getBooksByAuthorNameIR ) ;
298+ export const getBooksByAuthorName = new PreparedQuery < IGetBooksByAuthorNameParams , IGetBooksByAuthorNameResult > ( "getBooksByAuthorName" , getBooksByAuthorNameIR ) ;
299299
300300
301301/** 'AggregateEmailsAndTest' parameters type */
@@ -323,7 +323,7 @@ const aggregateEmailsAndTestIR: any = {"usedParamSet":{"testAges":true},"params"
323323 * SELECT array_agg(email) as "emails!", array_agg(age) = :testAges as ageTest FROM users
324324 * ```
325325 */
326- export const aggregateEmailsAndTest = new PreparedQuery < IAggregateEmailsAndTestParams , IAggregateEmailsAndTestResult > ( aggregateEmailsAndTestIR ) ;
326+ export const aggregateEmailsAndTest = new PreparedQuery < IAggregateEmailsAndTestParams , IAggregateEmailsAndTestResult > ( "aggregateEmailsAndTest" , aggregateEmailsAndTestIR ) ;
327327
328328
329329/** 'GetBooks' parameters type */
@@ -349,7 +349,7 @@ const getBooksIR: any = {"usedParamSet":{},"params":[],"statement":"SELECT id, n
349349 * SELECT id, name as "name!" FROM books
350350 * ```
351351 */
352- export const getBooks = new PreparedQuery < IGetBooksParams , IGetBooksResult > ( getBooksIR ) ;
352+ export const getBooks = new PreparedQuery < IGetBooksParams , IGetBooksResult > ( "getBooks" , getBooksIR ) ;
353353
354354
355355/** 'CountBooks' parameters type */
@@ -374,7 +374,7 @@ const countBooksIR: any = {"usedParamSet":{},"params":[],"statement":"SELECT cou
374374 * SELECT count(*) as book_count FROM books
375375 * ```
376376 */
377- export const countBooks = new PreparedQuery < ICountBooksParams , ICountBooksResult > ( countBooksIR ) ;
377+ export const countBooks = new PreparedQuery < ICountBooksParams , ICountBooksResult > ( "countBooks" , countBooksIR ) ;
378378
379379
380380/** 'GetBookCountries' parameters type */
@@ -400,6 +400,6 @@ const getBookCountriesIR: any = {"usedParamSet":{},"params":[],"statement":"SELE
400400 * SELECT * FROM book_country
401401 * ```
402402 */
403- export const getBookCountries = new PreparedQuery < IGetBookCountriesParams , IGetBookCountriesResult > ( getBookCountriesIR ) ;
403+ export const getBookCountries = new PreparedQuery < IGetBookCountriesParams , IGetBookCountriesResult > ( "getBookCountries" , getBookCountriesIR ) ;
404404
405405
0 commit comments