sqlx-ts icon indicating copy to clipboard operation
sqlx-ts copied to clipboard

node.js compile-time SQL validations & type generations

Results 28 sqlx-ts issues
Sort by recently updated
recently updated
newest added

Is there any support for batch inserts? When I try to use `jsonb_to_recordset` like [this article](https://gajus.medium.com/how-a-few-lines-of-code-reduced-database-load-by-a-few-million-queries-964d43ec668a) discusses, I get "Error: sql parser error: Expected ), found: UUID at Line: 5,...

Hi! If i understand correctly, i just need to create a .env file for sqx-ts to load environment variables and run the script. However, something is not working as expected....

This project is very interesting (I wish I had more time to work on it). I do not use ORM and this approach could help me to reach more robustness....

Hi! I noticed that in the latest `sqlx-ts` update, it no longer crashes when encountering JSON fields - thank you so much for that improvement. I have a couple of...

Hi! I noticed that when executing a query like DELETE FROM table WHERE id = $1 RETURNING *; the returned types are not generated. I understand that RETURNING is not...

```ts import { Effect, pipe } from 'effect'; import { sql } from 'sqlx-ts'; // recognized by sqlx-ts const test1 = Effect.succeed(sql` SELECT name FROM user `); // NOT recognized...