Since Object.defineProperty defaults to configurable: false and writable: false, all row objects created in libsql-client currently have read-only columns.
Irrespective of our opinions on immutability, this behavior is unfortunately not backward-compatible with any of the other sqlite JS/TS clients.
Since
Object.defineProperty
defaults toconfigurable: false
andwritable: false
, all row objects created in libsql-client currently have read-only columns. Irrespective of our opinions on immutability, this behavior is unfortunately not backward-compatible with any of the other sqlite JS/TS clients.I started implementing a libSQL driver in TypeORM, but the tests are currently failing because of fields on row objects being read-only.