Repository navigation
Expand file tree
/
Copy pathquery_sql.rbs
More file actions
753 lines (554 loc) · 22.4 KB
/
Copy pathquery_sql.rbs
File metadata and controls
753 lines (554 loc) · 22.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
# auto-generated by sqlc - do not edit
module Mysql2Codegen
GET_AUTHOR_SQL: ::String
class GetAuthorRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
LIST_AUTHORS_SQL: ::String
class ListAuthorsRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
CREATE_AUTHOR_SQL: ::String
UPDATE_AUTHOR_SQL: ::String
CREATE_AUTHOR_RETURN_ID_SQL: ::String
DELETE_AUTHOR_SQL: ::String
INSERT_MYSQL_NUMERIC_TYPES_SQL: ::String
GET_MYSQL_NUMERIC_TYPES_SQL: ::String
class GetMysqlNumericTypesRow
attr_reader id: ::Integer
attr_reader c_bool: ::Integer?
attr_reader c_boolean: ::Integer?
attr_reader c_tinyint: ::Integer?
attr_reader c_smallint: ::Integer?
attr_reader c_mediumint: ::Integer?
attr_reader c_int: ::Integer?
attr_reader c_integer: ::Integer?
attr_reader c_bigint: ::Integer?
attr_reader c_bigint_unsigned: ::Integer?
attr_reader c_serial: ::Integer
attr_reader c_decimal: ::BigDecimal?
attr_reader c_dec: ::BigDecimal?
attr_reader c_numeric: ::BigDecimal?
attr_reader c_fixed: ::BigDecimal?
attr_reader c_decimal_wide: ::BigDecimal?
attr_reader c_float: ::Float?
attr_reader c_double: ::Float?
attr_reader c_double_precision: ::Float?
def initialize: (
::Integer id,
::Integer? c_bool,
::Integer? c_boolean,
::Integer? c_tinyint,
::Integer? c_smallint,
::Integer? c_mediumint,
::Integer? c_int,
::Integer? c_integer,
::Integer? c_bigint,
::Integer? c_bigint_unsigned,
::Integer c_serial,
::BigDecimal? c_decimal,
::BigDecimal? c_dec,
::BigDecimal? c_numeric,
::BigDecimal? c_fixed,
::BigDecimal? c_decimal_wide,
::Float? c_float,
::Float? c_double,
::Float? c_double_precision
) -> void
end
INSERT_MYSQL_STRING_TYPES_SQL: ::String
GET_MYSQL_STRING_TYPES_SQL: ::String
class GetMysqlStringTypesRow
attr_reader id: ::Integer
attr_reader c_char: ::String?
attr_reader c_nchar: ::String?
attr_reader c_national_char: ::String?
attr_reader c_varchar: ::String?
attr_reader c_tinytext: ::String?
attr_reader c_text: ::String?
attr_reader c_mediumtext: ::String?
attr_reader c_longtext: ::String?
attr_reader c_json: ::String?
def initialize: (
::Integer id,
::String? c_char,
::String? c_nchar,
::String? c_national_char,
::String? c_varchar,
::String? c_tinytext,
::String? c_text,
::String? c_mediumtext,
::String? c_longtext,
::String? c_json
) -> void
end
INSERT_MYSQL_DATETIME_TYPES_SQL: ::String
GET_MYSQL_DATETIME_TYPES_SQL: ::String
class GetMysqlDatetimeTypesRow
attr_reader id: ::Integer
attr_reader c_date: ::Date?
attr_reader c_time: ::Time?
attr_reader c_datetime: ::Time?
attr_reader c_datetime_6: ::Time?
attr_reader c_timestamp: ::Time?
attr_reader c_year: ::Integer?
def initialize: (
::Integer id,
::Date? c_date,
::Time? c_time,
::Time? c_datetime,
::Time? c_datetime_6,
::Time? c_timestamp,
::Integer? c_year
) -> void
end
class CopyMysqlDatetimeTypesArgs
attr_reader id: ::Integer
attr_reader c_datetime_6: ::Time?
def initialize: ( ::Integer id, ::Time? c_datetime_6) -> void
end
INSERT_MYSQL_BINARY_TYPES_SQL: ::String
GET_MYSQL_BINARY_TYPES_SQL: ::String
class GetMysqlBinaryTypesRow
attr_reader id: ::Integer
attr_reader c_bit: ::String?
attr_reader c_bit_16: ::String?
attr_reader c_binary: ::String?
attr_reader c_varbinary: ::String?
attr_reader c_tinyblob: ::String?
attr_reader c_blob: ::String?
attr_reader c_mediumblob: ::String?
attr_reader c_longblob: ::String?
def initialize: (
::Integer id,
::String? c_bit,
::String? c_bit_16,
::String? c_binary,
::String? c_varbinary,
::String? c_tinyblob,
::String? c_blob,
::String? c_mediumblob,
::String? c_longblob
) -> void
end
LIST_AUTHORS_PAGED_SQL: ::String
class ListAuthorsPagedRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
GET_AUTHOR_BY_NAME_PATTERN_SQL: ::String
class GetAuthorByNamePatternRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
GET_AUTHORS_BY_OPTIONAL_NAME_SQL: ::String
class GetAuthorsByOptionalNameRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
PAUSE_QUERY_SQL: ::String
class PauseQueryRow
attr_reader sleep: ::Integer
def initialize: ( ::Integer sleep) -> void
end
UPDATE_AUTHOR_BIOS_SQL: ::String
GET_AUTHORS_BY_IDS_SQL: ::String
class GetAuthorsByIdsRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
GET_AUTHORS_BY_IDS_AND_NAMES_SQL: ::String
class GetAuthorsByIdsAndNamesRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
class CopyAuthorsArgs
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::String name, ::String? bio) -> void
end
TRUNCATE_AUTHORS_SQL: ::String
CREATE_BOOK_SQL: ::String
LIST_ALL_AUTHORS_BOOKS_SQL: ::String
class ListAllAuthorsBooksRow
attr_reader author: Author
attr_reader book: Book
def initialize: ( Author author, Book book) -> void
end
GET_DUPLICATE_AUTHORS_SQL: ::String
class GetDuplicateAuthorsRow
attr_reader author: Author
attr_reader author2: Author
def initialize: ( Author author, Author author2) -> void
end
GET_AUTHORS_BY_BOOK_NAME_SQL: ::String
class GetAuthorsByBookNameRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
attr_reader book: Book
def initialize: ( ::Integer id, ::String name, ::String? bio, Book book) -> void
end
CREATE_EXTENDED_BIO_SQL: ::String
GET_FIRST_EXTENDED_BIO_BY_TYPE_SQL: ::String
class GetFirstExtendedBioByTypeRow
attr_reader author_name: ::String?
attr_reader name: ::String?
attr_reader bio_type: ::String?
attr_reader author_type: ::String?
def initialize: ( ::String? author_name, ::String? name, ::String? bio_type, ::String? author_type) -> void
end
TRUNCATE_EXTENDED_BIOS_SQL: ::String
CREATE_AUTHOR_RESULT_SQL: ::String
CREATE_AUTHORS_BATCH_SQL: ::String
class CreateAuthorsBatchArgs
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::String name, ::String? bio) -> void
end
GET_AUTHOR_BATCH_SQL: ::String
class GetAuthorBatchRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
class GetAuthorBatchArgs
attr_reader id: ::Integer
def initialize: ( ::Integer id) -> void
end
LIST_AUTHORS_BY_NAME_BATCH_SQL: ::String
class ListAuthorsByNameBatchRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
class ListAuthorsByNameBatchArgs
attr_reader name: ::String
def initialize: ( ::String name) -> void
end
COUNT_REGRESSIONS_BY_TEXT_SQL: ::String
class CountRegressionsByTextRow
attr_reader count: ::Integer
def initialize: ( ::Integer count) -> void
end
LIST_REGRESSIONS_BY_IDS_SQL: ::String
class ListRegressionsByIdsRow
attr_reader id: ::Integer
attr_reader order: ::String
attr_reader note: ::String?
def initialize: ( ::Integer id, ::String order, ::String? note) -> void
end
class CopyRegressionsArgs
attr_reader order: ::String
attr_reader note: ::String?
def initialize: ( ::String order, ::String? note) -> void
end
class CopyRegressionRowsArgs
attr_reader id: ::Integer
attr_reader order: ::String
attr_reader note: ::String?
attr_reader payload: ::String?
def initialize: ( ::Integer id, ::String order, ::String? note, ::String? payload) -> void
end
SET_REGRESSION_STEP_SQL: ::String
GET_REGRESSION_STEP_SQL: ::String
class GetRegressionStepRow
attr_reader step: ::String?
def initialize: ( ::String? step) -> void
end
LIST_REGRESSION_ROWS_SQL: ::String
class ListRegressionRowsRow
attr_reader id: ::Integer
attr_reader order: ::String
attr_reader note: ::String?
attr_reader payload: ::String?
attr_reader code: ::String?
attr_reader doc: ::String?
attr_reader flags: ::String?
attr_reader amount: ::Integer?
def initialize: (
::Integer id,
::String order,
::String? note,
::String? payload,
::String? code,
::String? doc,
::String? flags,
::Integer? amount
) -> void
end
LIST_AUTHORS_WITH_OPTIONAL_BOOK_SQL: ::String
class ListAuthorsWithOptionalBookRow
attr_reader author: Author?
attr_reader book: Book?
def initialize: ( Author? author, Book? book) -> void
end
TRUNCATE_REGRESSIONS_SQL: ::String
class CopyRegressionTypesArgs
attr_reader id: ::Integer
attr_reader code: ::String?
attr_reader doc: ::String?
attr_reader flags: ::String?
attr_reader amount: ::Integer?
def initialize: (
::Integer id,
::String? code,
::String? doc,
::String? flags,
::Integer? amount
) -> void
end
class CopyRegressionsIgnoreArgs
attr_reader id: ::Integer
attr_reader code: ::String?
def initialize: ( ::Integer id, ::String? code) -> void
end
class CopyRegressionsReplaceArgs
attr_reader id: ::Integer
attr_reader code: ::String?
def initialize: ( ::Integer id, ::String? code) -> void
end
CREATE_REGRESSIONS_BATCH_SQL: ::String
class CreateRegressionsBatchArgs
attr_reader id: ::Integer
attr_reader code: ::String?
attr_reader flags: ::String?
attr_reader amount: ::Integer?
def initialize: ( ::Integer id, ::String? code, ::String? flags, ::Integer? amount) -> void
end
COUNT_REGRESSIONS_BY_CODES_SQL: ::String
class CountRegressionsByCodesRow
attr_reader matches: ::Integer
def initialize: ( ::Integer matches) -> void
end
class CountRegressionsByCodesArgs
attr_reader code: ::String?
attr_reader code_2: ::String?
def initialize: ( ::String? code, ::String? code_2) -> void
end
FIND_AUTHORS_BY_EXACT_NAME_SQL: ::String
class FindAuthorsByExactNameRow
attr_reader id: ::Integer
def initialize: ( ::Integer id) -> void
end
GET_AUTHOR_WITH_QUESTION_MARKS_SQL: ::String
class GetAuthorWithQuestionMarksRow
attr_reader id: ::Integer
def initialize: ( ::Integer id) -> void
end
INSERT_NAME_CASE_SQL: ::String
GET_NAME_CASE_SQL: ::String
class GetNameCaseRow
attr_reader id: ::Integer
attr_reader class_: ::String
attr_reader end: ::String
attr_reader hash_: ::String
attr_reader method_: ::String
attr_reader count: ::Integer
attr_reader camelcase: ::String
attr_reader httpserver: ::String
attr_reader initialize_: ::String
def initialize: (
::Integer id,
::String class_,
::String end,
::String hash_,
::String method_,
::Integer count,
::String camelcase,
::String httpserver,
::String initialize_
) -> void
end
GET_HTTP_SERVER_SQL: ::String
class GetHTTPServerRow
attr_reader id: ::Integer
attr_reader class_: ::String
attr_reader end: ::String
attr_reader hash_: ::String
attr_reader method_: ::String
attr_reader count: ::Integer
attr_reader camelcase: ::String
attr_reader httpserver: ::String
attr_reader initialize_: ::String
def initialize: (
::Integer id,
::String class_,
::String end,
::String hash_,
::String method_,
::Integer count,
::String camelcase,
::String httpserver,
::String initialize_
) -> void
end
TRUNCATE_NAME_CASES_SQL: ::String
class CopyMixedCaseCopiesArgs
attr_reader id: ::Integer
attr_reader somevalue: ::String?
def initialize: ( ::Integer id, ::String? somevalue) -> void
end
class CopyMixedCaseCopiesUnquotedArgs
attr_reader somevalue: ::String?
attr_reader id: ::Integer
def initialize: ( ::String? somevalue, ::Integer id) -> void
end
LIST_MIXED_CASE_COPIES_SQL: ::String
class ListMixedCaseCopiesRow
attr_reader id: ::Integer
attr_reader somevalue: ::String?
def initialize: ( ::Integer id, ::String? somevalue) -> void
end
TRUNCATE_MIXED_CASE_COPIES_SQL: ::String
GET_UNNAMED_COLUMNS_SQL: ::String
class GetUnnamedColumnsRow
attr_reader column_1: ::Integer
attr_reader column_2: ::String
def initialize: ( ::Integer column_1, ::String column_2) -> void
end
GET_QUOTED_ALIAS_SQL: ::String
class GetQuotedAliasRow
attr_reader it_s: ::Integer
def initialize: ( ::Integer it_s) -> void
end
GET_AUTHORS_NOT_IN_IDS_SQL: ::String
class GetAuthorsNotInIdsRow
attr_reader id: ::Integer
attr_reader name: ::String
attr_reader bio: ::String?
def initialize: ( ::Integer id, ::String name, ::String? bio) -> void
end
CREATE_EXCEPTION_SQL: ::String
COUNT_EXCEPTIONS_SQL: ::String
class CountExceptionsRow
attr_reader n: ::Integer
def initialize: ( ::Integer n) -> void
end
TRUNCATE_EXCEPTIONS_SQL: ::String
HAS_AUTHORS_SQL: ::String
class HasAuthorsRow
attr_reader has_any: untyped
def initialize: ( untyped has_any) -> void
end
class QuerySql
class NotFound < ::StandardError
end
def self.connect: (::Hash[untyped, untyped] mysql2_params, ?logger: untyped, **untyped pool_options) -> instance
def initialize: (untyped db, ?logger: untyped) -> void
def transaction: [T] (?isolation: (:read_uncommitted | :read_committed | :repeatable_read | :serializable)?) { (self) -> T } -> T
class ExecResult
attr_reader rows_affected: ::Integer
attr_reader last_insert_id: ::Integer?
def initialize: ( ::Integer rows_affected, ::Integer? last_insert_id) -> void
end
def get_author: (id: ::Integer) -> GetAuthorRow?
def get_author!: (id: ::Integer) -> GetAuthorRow
def list_authors: -> ::Array[ListAuthorsRow]
def create_author: (name: ::String, bio: ::String?) -> void
def update_author: (bio: ::String?, id: ::Integer) -> void
def create_author_return_id: (name: ::String, bio: ::String?) -> ::Integer
def delete_author: (id: ::Integer) -> void
def insert_mysql_numeric_types: (id: ::Integer, c_bool: ::Integer?, c_boolean: ::Integer?, c_tinyint: ::Integer?, c_smallint: ::Integer?, c_mediumint: ::Integer?, c_int: ::Integer?, c_integer: ::Integer?, c_bigint: ::Integer?, c_bigint_unsigned: ::Integer?, c_decimal: ::BigDecimal?, c_dec: ::BigDecimal?, c_numeric: ::BigDecimal?, c_fixed: ::BigDecimal?, c_decimal_wide: ::BigDecimal?, c_float: ::Float?, c_double: ::Float?, c_double_precision: ::Float?) -> void
def get_mysql_numeric_types: (id: ::Integer) -> GetMysqlNumericTypesRow?
def get_mysql_numeric_types!: (id: ::Integer) -> GetMysqlNumericTypesRow
def insert_mysql_string_types: (id: ::Integer, c_char: ::String?, c_nchar: ::String?, c_national_char: ::String?, c_varchar: ::String?, c_tinytext: ::String?, c_text: ::String?, c_mediumtext: ::String?, c_longtext: ::String?, c_json: ::String?) -> void
def get_mysql_string_types: (id: ::Integer) -> GetMysqlStringTypesRow?
def get_mysql_string_types!: (id: ::Integer) -> GetMysqlStringTypesRow
def insert_mysql_datetime_types: (id: ::Integer, c_date: ::Date?, c_time: ::Time?, c_datetime: ::Time?, c_datetime_6: ::Time?, c_timestamp: ::Time?, c_year: ::Integer?) -> void
def get_mysql_datetime_types: (id: ::Integer) -> GetMysqlDatetimeTypesRow?
def get_mysql_datetime_types!: (id: ::Integer) -> GetMysqlDatetimeTypesRow
def copy_mysql_datetime_types: (::Array[CopyMysqlDatetimeTypesArgs] rows) -> void
def insert_mysql_binary_types: (id: ::Integer, c_bit: ::String?, c_bit_16: ::String?, c_binary: ::String?, c_varbinary: ::String?, c_tinyblob: ::String?, c_blob: ::String?, c_mediumblob: ::String?, c_longblob: ::String?) -> void
def get_mysql_binary_types: (id: ::Integer) -> GetMysqlBinaryTypesRow?
def get_mysql_binary_types!: (id: ::Integer) -> GetMysqlBinaryTypesRow
def list_authors_paged: (limit: ::Integer, offset: ::Integer) -> ::Array[ListAuthorsPagedRow]
def get_author_by_name_pattern: (?name_pattern: ::String?) -> ::Array[GetAuthorByNamePatternRow]
def get_authors_by_optional_name: (limit: ::Integer, ?name_filter: untyped) -> ::Array[GetAuthorsByOptionalNameRow]
def pause_query: (seconds: ::Integer) -> void
def update_author_bios: (?bio: ::String?) -> ::Integer
def get_authors_by_ids: (ids: ::Array[::Integer]) -> ::Array[GetAuthorsByIdsRow]
def get_authors_by_ids_and_names: (ids: ::Array[::Integer], names: ::Array[::String]) -> ::Array[GetAuthorsByIdsAndNamesRow]
def copy_authors: (::Array[CopyAuthorsArgs] rows) -> void
def truncate_authors: -> void
def create_book: (name: ::String, author_id: ::Integer) -> ::Integer
def list_all_authors_books: -> ::Array[ListAllAuthorsBooksRow]
def get_duplicate_authors: -> ::Array[GetDuplicateAuthorsRow]
def get_authors_by_book_name: (name: ::String) -> ::Array[GetAuthorsByBookNameRow]
def create_extended_bio: (author_name: ::String?, name: ::String?, bio_type: ::String?, author_type: ::String?) -> void
def get_first_extended_bio_by_type: (bio_type: ::String?) -> GetFirstExtendedBioByTypeRow?
def get_first_extended_bio_by_type!: (bio_type: ::String?) -> GetFirstExtendedBioByTypeRow
def truncate_extended_bios: -> void
def create_author_result: (name: ::String, bio: ::String?) -> ExecResult
def create_authors_batch: (::Array[CreateAuthorsBatchArgs] rows) -> void
def get_author_batch: (::Array[GetAuthorBatchArgs] rows) -> ::Array[GetAuthorBatchRow?]
def list_authors_by_name_batch: (::Array[ListAuthorsByNameBatchArgs] rows) -> ::Array[::Array[ListAuthorsByNameBatchRow]]
def count_regressions_by_text: (term: ::String) -> CountRegressionsByTextRow?
def count_regressions_by_text!: (term: ::String) -> CountRegressionsByTextRow
def list_regressions_by_ids: (id: ::Integer, id_2: ::Integer, id_3: ::Integer) -> ::Array[ListRegressionsByIdsRow]
def copy_regressions: (::Array[CopyRegressionsArgs] rows) -> void
def copy_regression_rows: (::Array[CopyRegressionRowsArgs] rows) -> void
def set_regression_step: (step: ::String?, id: ::Integer) -> void
def get_regression_step: (id: ::Integer) -> GetRegressionStepRow?
def get_regression_step!: (id: ::Integer) -> GetRegressionStepRow
def list_regression_rows: -> ::Array[ListRegressionRowsRow]
def list_authors_with_optional_book: -> ::Array[ListAuthorsWithOptionalBookRow]
def truncate_regressions: -> void
def copy_regression_types: (::Array[CopyRegressionTypesArgs] rows) -> void
def copy_regressions_ignore: (::Array[CopyRegressionsIgnoreArgs] rows) -> void
def copy_regressions_replace: (::Array[CopyRegressionsReplaceArgs] rows) -> void
def create_regressions_batch: (::Array[CreateRegressionsBatchArgs] rows) -> void
def count_regressions_by_codes: (::Array[CountRegressionsByCodesArgs] rows) -> ::Array[CountRegressionsByCodesRow?]
def find_authors_by_exact_name: (name: ::String) -> ::Array[FindAuthorsByExactNameRow]
def get_author_with_question_marks: (name: ::String) -> ::Array[GetAuthorWithQuestionMarksRow]
def insert_name_case: (id: ::Integer, class_: ::String, end_: ::String, hash: ::String, method: ::String, count: ::Integer, camel_case: ::String, http_server: ::String, initialize: ::String) -> void
def get_name_case: (id: ::Integer, class_: ::String, end_: ::String, hash: ::String, method: ::String, count: ::Integer, http_server: ::String, camel_case: ::String, initialize: ::String) -> GetNameCaseRow?
def get_name_case!: (id: ::Integer, class_: ::String, end_: ::String, hash: ::String, method: ::String, count: ::Integer, http_server: ::String, camel_case: ::String, initialize: ::String) -> GetNameCaseRow
def get_http_server: (id: ::Integer) -> GetHTTPServerRow?
def get_http_server!: (id: ::Integer) -> GetHTTPServerRow
def truncate_name_cases: -> void
def copy_mixed_case_copies: (::Array[CopyMixedCaseCopiesArgs] rows) -> void
def copy_mixed_case_copies_unquoted: (::Array[CopyMixedCaseCopiesUnquotedArgs] rows) -> void
def list_mixed_case_copies: -> ::Array[ListMixedCaseCopiesRow]
def truncate_mixed_case_copies: -> void
def get_unnamed_columns: -> GetUnnamedColumnsRow?
def get_unnamed_columns!: -> GetUnnamedColumnsRow
def get_quoted_alias: -> GetQuotedAliasRow?
def get_quoted_alias!: -> GetQuotedAliasRow
def get_authors_not_in_ids: (ids: ::Array[::Integer]) -> ::Array[GetAuthorsNotInIdsRow]
def create_exception: -> void
def count_exceptions: -> CountExceptionsRow?
def count_exceptions!: -> CountExceptionsRow
def truncate_exceptions: -> void
def has_authors: -> HasAuthorsRow?
def has_authors!: -> HasAuthorsRow
private
def instrument: [T] (::String name) { () -> T } -> T
def with_client: [T] (::String name) { (untyped) -> T } -> T
def bound_to: (TransactionConnection connection) -> self
def quote: (untyped client, untyped value) -> ::String
def mysql_time: (untyped client, ::Time | ::DateTime value) -> ::String
def bind_params: (untyped client, ::String sql, ::Array[untyped] params) -> ::String
def csv_line: (untyped client, ::Array[untyped] values) -> ::String
def load_data: (untyped client, ::String sql, ?strict: bool) -> void
def slice_placeholders: (::Array[untyped] values) -> ::String
end
end