Closed simplenotezy closed 3 weeks ago
It would be nice if the generator supported RETURNING * in queries, like:
RETURNING *
https://jasonshin.github.io/sqlx-ts/reference-guide/4.2.INSERT.html
const fetchAnalysisId = await this.db.query({ text: sql` INSERT INTO analysis (type, status) VALUES ($1, $2) + RETURNING id `, values: [AnalysisType.EMAIL, AnalysisStatus.PENDING], });
That's a great suggestion
This PR should handle this https://github.com/JasonShin/sqlx-ts/pull/121
This is now supported in v0.14.0 👍
Wow amazing. That was quick. Will update asap and check it out
It would be nice if the generator supported
RETURNING *
in queries, like:https://jasonshin.github.io/sqlx-ts/reference-guide/4.2.INSERT.html