Re:Kysely (the type-safe SQL query builder for TypeScript) 0...
by oulipo on Sunday April 13, 2025 @04:03PM
(#43675433)
Nice!
How do "savepoints" work? does it work with any db backend, eg Postgres?
Re:Kysely (the type-safe SQL query builder for TypeScript) 0...
by igalklebanov on Sunday April 13, 2025 @04:52PM
(#43675770)
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.html
in kysely, the dialect you're using has to implement the new optional savepoint-specific methods for it to work.
Re:Kysely (the type-safe SQL query builder for TypeScript) 0...
by verdverm on Sunday April 13, 2025 @04:24PM
(#43675584)
more / better documentation please
Re:Kysely (the type-safe SQL query builder for TypeScript) 0...
by igalklebanov on Sunday April 13, 2025 @04:55PM
(#43675789)
can you share your personal documentation story? what did you not find? what was painful?
<3