Skip to content

SqlClient for expo-sqlite #4544

Open
@fredericrous

Description

@fredericrous

What is the problem this feature would solve?

would get sqlite on Expo working with Effect

What is the feature you are proposing to solve the problem?

I would like for @effect/sql-sqlite-expo to be available, sql-sqlite-react-native is based on an unmaintained package, now there is a nitro alternative https://github.com/margelo/react-native-nitro-sqlite but I use expo anyway, and expo has its own package https://docs.expo.dev/versions/latest/sdk/sqlite/

What alternatives have you considered?

I tried the package @effect/[email protected]
I'm using expo 52.0.37, with effect 3.13.2 but the import of the module fails on expo, I'm getting the error

Error: Base module not found. Maybe try rebuilding the app.

I also looked at https://github.com/tim-smart/sqlfx/blob/main/packages/sqlite/src/expo.ts but this implements an old version of expo-sqlite

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions