TL;DR - support the following syntax:
const result = await conn.query("SELECT id FROM users WHERE first_name = $1", [firstName])
Currently, many libraries don't come with an SQL template tag out of the box (such as pg, sequelize, etc), and some devs may prefer using normal strings with parameterized variables ($1, $2, ...) with an array of values.
We should probably support that kind of syntax as well.
Owner Name | ts-safeql |
Repo Name | safeql |
Full Name | ts-safeql/safeql |
Language | TypeScript |
Created Date | 2022-09-08 |
Updated Date | 2023-03-16 |
Star Count | 795 |
Watcher Count | 5 |
Fork Count | 14 |
Issue Count | 7 |
Issue Title | Created Date | Updated Date |
---|