Kysely (the type-safe SQL query builder for TypeScript) 0.28 is out (github.com) 2 points by igalklebanov 1y ago ↗ HN
[–] igalklebanov 1y ago ↗ thoughts? requests? issues?<3 [–] oulipo 1y ago ↗ Nice!How do "savepoints" work? does it work with any db backend, eg Postgres? [–] igalklebanov 1y ago ↗ it depends on the database. the major ones support savepoints. postgres included. https://www.postgresql.org/docs/current/sql-savepoint.html https://dev.mysql.com/doc/refman/8.4/en/savepoint.html https://learn.microsoft.com/en-us/sql/t-sql/language-element... https://sqlite.org/lang_savepoint.htmlin kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work. [–] verdverm 1y ago ↗ more / better documentation please [–] igalklebanov 1y ago ↗ can you share your personal documentation story? what did you not find? what was painful?
[–] oulipo 1y ago ↗ Nice!How do "savepoints" work? does it work with any db backend, eg Postgres? [–] igalklebanov 1y ago ↗ it depends on the database. the major ones support savepoints. postgres included. https://www.postgresql.org/docs/current/sql-savepoint.html https://dev.mysql.com/doc/refman/8.4/en/savepoint.html https://learn.microsoft.com/en-us/sql/t-sql/language-element... https://sqlite.org/lang_savepoint.htmlin kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work.
[–] igalklebanov 1y ago ↗ it depends on the database. the major ones support savepoints. postgres included. https://www.postgresql.org/docs/current/sql-savepoint.html https://dev.mysql.com/doc/refman/8.4/en/savepoint.html https://learn.microsoft.com/en-us/sql/t-sql/language-element... https://sqlite.org/lang_savepoint.htmlin kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work.
[–] verdverm 1y ago ↗ more / better documentation please [–] igalklebanov 1y ago ↗ can you share your personal documentation story? what did you not find? what was painful?
[–] igalklebanov 1y ago ↗ can you share your personal documentation story? what did you not find? what was painful?
5 comments
[ 3.2 ms ] story [ 18.6 ms ] thread<3
How do "savepoints" work? does it work with any db backend, eg Postgres?
in kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work.