React Native Expo SQLite: DrizzleError: Failed to run the query
Hellow everyone! Im trying to make drizzle work in react native (https://orm.drizzle.team/docs/get-started-sqlite#expo-sqlite) and right now Im getting the following error when I use
useMigrations
hook in my app entry:
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
8 Replies
It seems like in the app, there is no access to the sqlite database
Maybe?
I dont think so. Just tried using expo sqlite without drizzle and looks like it is working
Isn't this how you are supposed to connect to your db?
I think docs are outdated, because I dont have
import { openDatabaseSync } from "expo-sqlite/next";
in my expo-sqlite version "expo-sqlite": "~11.3.3",
I haven't use this module just yet, what do you think @Andrew Sherman ?
cc @alexblokh
@smashboy
Strange,
npx expo install
ignores @next
. Thanks! Will try to figure out how to update it then