Commit bc21237
committed
fix: rename limit/offset narg args to take/skip
LIMIT and OFFSET are reserved SQL keywords, so using them as
sqlc.narg() names in the generated List queries produced SQL that
failed to parse. Rename the narg parameters to take/skip, which are
non-reserved and match the convention used by Prisma/LINQ/EF.1 parent 59685b3 commit bc21237
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
| 322 | + | |
323 | 323 | | |
324 | | - | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
0 commit comments