@libsql/client supports intMode as a configuration option that specifies how SQLite integers should be outputted.
createClient({
// other options
intMode: "number" // or "bigint" or "string"
})
libsql-stateless-easy's lack of support for this prevents usage for applications that use an intMode other than BigInt and reduces optimization opportunities (plain js numbers are almost always faster when within the 53-bit limit).
@libsql/client
supportsintMode
as a configuration option that specifies how SQLite integers should be outputted.libsql-stateless-easy's lack of support for this prevents usage for applications that use an
intMode
other than BigInt and reduces optimization opportunities (plain js numbers are almost always faster when within the 53-bit limit).I would be willing to submit a PR for this.