-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquery_sql.rbs
53 lines (40 loc) · 1.07 KB
/
query_sql.rbs
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
# auto-generated by sqlc - do not edit
module Sqlite3Codegen
GetAuthorSql: 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
class GetAuthorArgs
attr_reader id: Integer
def initialize: ( Integer id) -> void
end
ListAuthorsSql: 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
CreateAuthorSql: String
class CreateAuthorArgs
attr_reader name: String
attr_reader bio: String
def initialize: ( String name, String bio) -> void
end
DeleteAuthorSql: String
class DeleteAuthorArgs
attr_reader id: Integer
def initialize: ( Integer id) -> void
end
class QuerySql
@db: untyped
def initialize: (untyped) -> void
def get_author: (GetAuthorArgs) -> GetAuthorRow?
def list_authors: -> void
def create_author: (CreateAuthorArgs) -> void
def delete_author: (DeleteAuthorArgs) -> void
end
end