Database - Sqlite

Asked

Viewed 661 times

1

I am developing an application that needs a database, I chose Sqlite.

As I am new and have no experience in Sqlite I have come to ask you: How can I create a database with Sqlite and React Native?

2 answers

2

If you are developing an application using the framework React Native and want to persist data using Sqlite directly, perhaps, I say perhaps, not so interesting as it has to explore native features of the devices on their particular platforms. If your application is hybrid, this will make it difficult because each platform has its peculiarities. It would be something like reinvent the wheel, as many say. Mário Quintana says "Laziness is the mother of progress. If man had not been lazy to walk, he would not have invented the wheel".

But there are some plugins open source that allows you to manipulate Sqlite database using Javascript. Take a look at these:

If you want to redo the wheel more efficiently, you can take as a basis these same plugins and improve them or even remake them.

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.