Hello all!
I created a database with the SQLiteOpenHelper. In the onCreate()-method i Created the Table.
I wanted the table to start with some values, thats why i read that i can Insert the values on creation. But if i have multiple values, do i always have to wirte?:
val insertinto = ("INSERT INTO " + TABLE_REZ + "("
+ REZ_ID + "," + REZ_NAME + ") VALUES ( 21,'ABC','123')")
db.execSQL(insertTableZutaten)
And this Statements multiple times for every row i want to insert, or is there some more effizient way to do it? Like INSERT INTO with multiple values?
Kind regads
DomiPusti