SQL - $cordovaSQLite Multiple insert into one query


#1

Hello,

Can we INSERT rows into many tables in one query with $cordovaSQLite.execute

INSERT INTO table1(Id,Name) VALUES (1,“toto”);
INSERT INTO table2(Id,Name) VALUES (1,“titi”);
doesn’t work

What it the great syntax? Is there another solution


#2

Bumping this post to see if anyone else has a solution? Closest answer I can find about the status of bulk inserts is https://github.com/litehelpers/Cordova-sqlite-storage/issues/158