-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsqlc.yaml
94 lines (79 loc) · 2.29 KB
/
sqlc.yaml
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
version: 1
packages:
- path: "internal/catalog/pg96"
schema: "internal/catalog/pg96/"
queries: "internal/catalog/pg96/"
emit_exact_table_names: true
engine: "postgresql"
sql_package: "pgx/v4"
- path: "internal/catalog/pg10"
schema: "internal/catalog/pg10/"
queries: "internal/catalog/pg10/"
emit_exact_table_names: true
engine: "postgresql"
sql_package: "pgx/v4"
# TODO anyarray pg_node_tree
overrides:
- db_type: "aclitem"
go_type: "github.com/jackc/pgtype.ACLItem"
- db_type: "aclitem"
go_type: "github.com/jackc/pgtype.ACLItem"
nullable: true
- db_type: "boolean"
go_type: "github.com/jackc/pgtype.Bool"
nullable: true
- db_type: "bytea"
go_type: "github.com/jackc/pgtype.Bytea"
- db_type: "bytea"
go_type: "github.com/jackc/pgtype.Bytea"
nullable: true
- db_type: "char"
go_type: "github.com/jackc/pgtype.QChar"
- db_type: "char"
go_type: "github.com/jackc/pgtype.QChar"
nullable: true
- db_type: "double precision"
go_type: "github.com/jackc/pgtype.Float8"
nullable: true
- db_type: "integer"
go_type: "github.com/jackc/pgtype.Int4"
nullable: true
- db_type: "name"
go_type: "string"
- db_type: "name"
go_type: "github.com/jackc/pgtype.Name"
nullable: true
- db_type: "oid"
go_type: "github.com/jackc/pgtype.OID"
- db_type: "oid"
go_type: "github.com/jackc/pgtype.OIDValue"
nullable: true
- db_type: "real"
go_type: "github.com/jackc/pgtype.Float4"
nullable: true
- db_type: "regproc"
go_type: "github.com/jackc/pgtype.Text"
- db_type: "regproc"
go_type: "github.com/jackc/pgtype.Text"
nullable: true
- db_type: "regtype"
go_type: "github.com/jackc/pgtype.Text"
- db_type: "regtype"
go_type: "github.com/jackc/pgtype.Text"
nullable: true
- db_type: "smallint"
go_type: "github.com/jackc/pgtype.Int2"
nullable: true
- db_type: "text"
go_type: "github.com/jackc/pgtype.Text"
- db_type: "text"
go_type: "github.com/jackc/pgtype.Text"
nullable: true
- db_type: "timestamp with time zone"
go_type: "github.com/jackc/pgtype.Timestamptz"
nullable: true
- db_type: "xid"
go_type: "github.com/jackc/pgtype.XID"
- db_type: "xid"
go_type: "github.com/jackc/pgtype.XID"
nullable: true