Check out example codes for "mariadb insert 10000 rows in one query". It will help you in understanding the concepts better.
Code Example 1
INSERT INTO table_name values(1,"row 1"),(2, "row 2"),...;
Learn ReactJs, React Native from akashmittal.com