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?
ASAndrii Sherman5/6/2023
@Dan Kochetov
For now yes, I didn't implement other query types for the query builder, but it's on our backlog.