Skip to content

drizzle-team/drizzle-studio-expo

Repository files navigation

Drizzle Studio for Expo SQLite

Expo dev tools plugin for you to browse your Expo SQLite data with Drizzle Studio 🎉

Get Started

Add Expo SQLite to your project

Install expo-drizzle-studio-plugin

npm i expo-drizzle-studio-plugin

Setup Drizzle Studio plugin

import { useDrizzleStudio } from "expo-drizzle-studio-plugin";
import * as SQLite from "expo-sqlite";
import { View } from "react-native";

const db = SQLite.openDatabaseSync("db");

export default function App() {
    useDrizzleStudio(db);

    return <View></View>;
}

Run and Expo app on physical device, simulator or emulator which supports Expo SQLite. Web doesn't support SQLite.

npx expo start

Open devtools menu from the terminal with "start" process and choose expo-drizzle-studio-plugin

shift + m