Skip to content

drizzle studio support #276

@bryanprimus

Description

@bryanprimus

What happened?

I tried to run drizzle-kit studio

But got this error

Invalid input Please specify a 'dbCredentials' param in config. It will help drizzle to know how to query you database. You can read more about drizzle.config: https://orm.drizzle.team/kit-docs/config-reference

Not sure what to add to dbCredentials since the db is in the device

And then i saw https://github.com/drizzle-team/drizzle-studio-expo this plugin in the expo-sqlite doc.
When i tried that for op-sqlite

it throws

ERROR [TypeError: db.prepareAsync is not a function (it is undefined)]

Is op-sqlite doesn't have the ability to run in drizzle studio right now? or there is an equivalent for expo something similar to drizzle-studio-expo?

op-sqlite version

14.0.1

React Native version

0.79.2

Reproducible Example

will update if needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions