Commit 090cb54
authored
feat(sqlite) add support sqlc functions (#2274)
* feat(sqlite) add support sqlc functions
* update booktest example for SQLite
use RETURNING and sqlc.slice.
* feat(sqlite): support numbered parameter
* feat(sqlite): support sqlc.embed function
* update document
* format source and regenerate end to end test
* fix parsing Expr_listContext for SQLite1 parent 74bcedc commit 090cb54
File tree
48 files changed
+5092
-3707
lines changed- docs/howto
- examples/booktest/sqlite
- internal
- codegen/golang
- endtoend/testdata
- join_left/sqlite/go
- named_param/sqlite
- go
- sqlc_arg_invalid/sqlite
- sqlc_arg/sqlite
- go
- sqlc_embed/sqlite
- go
- sqlc_narg/sqlite
- go
- sqlc_slice/sqlite
- go
- engine/sqlite
- parser
- sql/rewrite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+5092
-3707
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
45 | 41 | | |
46 | 42 | | |
47 | 43 | | |
48 | | - | |
| 44 | + | |
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
53 | 49 | | |
| 50 | + | |
54 | 51 | | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | | - | |
| 57 | + | |
| 58 | + | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
66 | 63 | | |
67 | | - | |
| 64 | + | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 69 | | |
77 | 70 | | |
78 | 71 | | |
79 | | - | |
| 72 | + | |
80 | 73 | | |
81 | | - | |
| 74 | + | |
82 | 75 | | |
83 | 76 | | |
84 | 77 | | |
85 | 78 | | |
86 | 79 | | |
87 | 80 | | |
88 | 81 | | |
89 | | - | |
| 82 | + | |
90 | 83 | | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
94 | 87 | | |
95 | | - | |
| 88 | + | |
96 | 89 | | |
97 | 90 | | |
98 | 91 | | |
99 | 92 | | |
100 | 93 | | |
101 | 94 | | |
102 | | - | |
103 | | - | |
| 95 | + | |
| 96 | + | |
104 | 97 | | |
105 | 98 | | |
106 | 99 | | |
107 | 100 | | |
108 | 101 | | |
109 | | - | |
| 102 | + | |
110 | 103 | | |
111 | 104 | | |
112 | 105 | | |
113 | 106 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 107 | | |
119 | 108 | | |
120 | 109 | | |
| |||
124 | 113 | | |
125 | 114 | | |
126 | 115 | | |
127 | | - | |
| 116 | + | |
128 | 117 | | |
129 | 118 | | |
130 | | - | |
| 119 | + | |
131 | 120 | | |
132 | 121 | | |
133 | 122 | | |
| |||
150 | 139 | | |
151 | 140 | | |
152 | 141 | | |
153 | | - | |
| 142 | + | |
154 | 143 | | |
155 | | - | |
| 144 | + | |
156 | 145 | | |
157 | 146 | | |
158 | 147 | | |
159 | 148 | | |
160 | | - | |
| 149 | + | |
161 | 150 | | |
162 | 151 | | |
163 | 152 | | |
164 | 153 | | |
165 | 154 | | |
166 | | - | |
| 155 | + | |
167 | 156 | | |
168 | 157 | | |
169 | 158 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
53 | | - | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
58 | | - | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
0 commit comments