Explore posts from servers
DTDrizzle Team
Created by andreterron on 5/5/2023 in #help
Can I use queryBuilder for inserts?
My scenario is that I want to read some rows from a database (prod), and generate a SQL file that we'd use to populate a local DB. I wanted to use queryBuilder ( since I wouldn't need to connect to a DB to generate the SQL queries, but seems like queryBuilder only supports select() at the moment. Do I need to connect to a local DB if I want to generate insert() queries?
3 replies