prisma1 icon indicating copy to clipboard operation
prisma1 copied to clipboard

Query ReactNative SQLite

Open mxstbr opened this issue 6 years ago • 6 comments

Is your feature request related to a problem? Please describe. I hate manually having to query and manage my local SQLite database in ReactNative, even with Expo.

Describe the solution you'd like It'd be awesome if I could use the Prisma query engine (?) to query the local SQLite database in ReactNative and Expo.

Describe alternatives you've considered N/A

mxstbr avatar Dec 17 '18 11:12 mxstbr

Thanks for posting this feature request! We're tracking the progress of the SQLite connector already in this issue: https://github.com/prisma/prisma/issues/2460 So I'm closing this one in favor of #2460.

timsuchanek avatar Dec 17 '18 12:12 timsuchanek

A SQLite connector wouldn't be enough I'm pretty sure as one can't run the Prisma server on a mobile device. I'm solely talking about turning a Prisma query into Sqlite-compatible SQL string and running it against WebSQL basically. This is a different feature.

mxstbr avatar Dec 17 '18 13:12 mxstbr

@mxstbr my apologies 🙌 that indeed is a separate issue.

timsuchanek avatar Dec 18 '18 09:12 timsuchanek

Yes, this would be an amazing feature to have!

flybayer avatar Jan 29 '19 17:01 flybayer

If this were supported, Prisma could potentially be the best react-native app data storage API I've seen.

dantman avatar May 24 '20 08:05 dantman

Over 2 years since the last activity on this issue - not a great sign - but is there any hope this could happen? This would also be a great feature to have against the local SQLite database when exposed through Cordova, Capacitor, or Ionic Secure Storage.

5hee75 avatar Aug 03 '22 04:08 5hee75