First of all, thank you for this adapter! I've been wanting exactly this for a while.
I can see that you're using PRAGMA table_info(...) to get the declared column types.
Since v1.2.17, Bun's sqlite driver actually has native .columnTypes and . declaredTypes method in Statement.
(Disclaimer, the PR was from myself: oven-sh/bun#20232)
Do you think it could be beneficial to use these methods?
First of all, thank you for this adapter! I've been wanting exactly this for a while.
I can see that you're using
PRAGMA table_info(...)to get the declared column types.Since v1.2.17, Bun's sqlite driver actually has native
.columnTypesand. declaredTypesmethod inStatement.(Disclaimer, the PR was from myself: oven-sh/bun#20232)
Do you think it could be beneficial to use these methods?