This PR defines methods execute_batch and with_multi_statements to leverage multi statement insertion during the insert_fixture_set flow. It's mostly inspired by the implementation of Mysql2Adapter upstream, and much of this code can be de-duplicated when Trilogy makes its way upstream.
I've added 2 test cases for the cases when multi_statement is enabled/disabled to start.
Once we merge the Trilogy changes, I'll update this PR to use main/the new release.
Depends on https://github.com/github/trilogy/pull/52 Closes #37
This PR defines methods
execute_batch
andwith_multi_statements
to leverage multi statement insertion during theinsert_fixture_set
flow. It's mostly inspired by the implementation ofMysql2Adapter
upstream, and much of this code can be de-duplicated when Trilogy makes its way upstream.I've added 2 test cases for the cases when
multi_statement
is enabled/disabled to start.Once we merge the Trilogy changes, I'll update this PR to use main/the new release.