Commit 7ebef46
authored
Documentation on slice as parameter to a query (sqlc-dev#999)
I spent quite a time figuring this one out because it's not mentioned in the documentation that we have to pass postgres data types. I was using
ANY(sqlc.arg(roles)::string[]) which is supposed to be ANY(sqlc.arg(roles)::varchar[]).1 parent 77db7d1 commit 7ebef46
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments