drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: LiveQueries with op-salite

Open
#2,926 9 comments 17 reactions 0 assignees View on GitHub
db/sqlite driver/op-sqlite enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

Hello Drizzle team, we are migrating from expo-sqlite to op-sqlite and are missing the liveQuery hook that we have come to rely on. The request is to add capability to do live queries with drizze & op-sqlite

Right now we can do
```ts
import { useLiveQuery } from "drizzle-orm/expo-sqlite";
const { data, error } = useLiveQuery(
db.query.users.findMany({
```
However, the functionality is not found in `"drizzle-orm/op-sqlite";`
op-sqlite supports reactive queries but we want to leverage ORM syntax that we have grown to use.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.