Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use alongside an ORM? #39

Open
daybson opened this issue Apr 12, 2021 · 4 comments
Open

How can I use alongside an ORM? #39

daybson opened this issue Apr 12, 2021 · 4 comments
Labels
question Further information is requested

Comments

@daybson
Copy link

daybson commented Apr 12, 2021

Hi, I use this package in production for 1 year.

I was looking for some orm compatible with sqflite, but I don't know how could I make it works along sqlcipher.

Do you have any idea to help me?

Thank you!

@davidmartos96
Copy link
Owner

I've been using Moor for quite some time already and it is great. It supports encryption, which uses this library under the hood.

There are other ORMs for Sqlite but I haven't tried them out.

@Abhijit-Revamp
Copy link

I have been using this with "sqfEntity" plugin and works great. for my apps, MOOR is like cutting the butter by sword.

@daybson
Copy link
Author

daybson commented Apr 23, 2021

sqfEntity

Could you give an example of how you do you open your encripted database using the orm?

@davidmartos96 davidmartos96 added the question Further information is requested label Apr 27, 2021
@Abhijit-Revamp
Copy link

@daybson --> I used sqfEntity, added "sqflite_sqlcipher" to pubspec (as documented here) and it just worked. Just had to specify the password why creating database model (as per sqfenity documentation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants