Skip to content

node:sqlite support #1710

@Tobbe

Description

@Tobbe

Node's built-in support for sqlite is still experimental, but not behind a flag anymore.

Prisma currently uses better-sqlite3, but it's now throwing warnings and struggles with binaries (WiseLibs/better-sqlite3#1446). I'd like to explore using Node's built-in sqlite support instead. Ideally I could wait until Node promotes sqlite out of experimental, but I have no idea/indication on when that's going to happen.

If/when I do decide it's time to go down this path, here are some good links:

Here's a Prisma adapter that adds support to Prisma to use node:sqlite: https://github.com/Maxime-J/prisma-adapter-sqlite
Here's a PR on another project that vendored the node:sqlite support: https://github.com/getagentseal/codeburn/pull/76/changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions