I'm trying to do a Batch query where there is one insert into table A and N inserts into table B. I'm having trouble figuring out how to create BatchValues for this. Since they are different length tuples I can't just construct a Vec of the tuples. Any suggestions on how to do this?
Implementing SerializeRow for Box<dyn SerializeRow> would allow passing Vec<Box<dyn SerializeRow>> as BatchValues.
A user reported the following use case:
Implementing
SerializeRow
forBox<dyn SerializeRow>
would allow passingVec<Box<dyn SerializeRow>>
asBatchValues
.