Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 881 Bytes

README.md

File metadata and controls

35 lines (27 loc) · 881 Bytes

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