Skip to content

Consider using Bun's native . columnTypes and . declaredTypes #1

@crishoj

Description

@crishoj

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions