D
D
Dmitry2020-12-20 01:26:23
Java
Dmitry, 2020-12-20 01:26:23

How to populate a SQLite table from an array?

Hello.
I need to enter quite a lot of entries into one column (there are two in total - ID and text), manually enter them for a long time, but I did not find any effective way. For certain after all there is an opportunity at creation of the table to fill it with the prepared data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2020-12-20
@Starv

Hello!
For the convenience of working with the database, you can connect ORM (ormlite, room, etc.).
As for database inserts, take a look at these links:
https://stackoverflow.com/questions/6080975/how-to...
https://stackoverflow.com/questions/21848557/how-t...
google
google 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question