NyxCode / ormx

bringing orm-like features to sqlx
MIT License
287 stars 32 forks source link

Batched inserts #39

Open mclrc opened 4 months ago

mclrc commented 4 months ago

Hello! Loving the library, thank you so much!

The only thing I'm missing for my use case is batched inserts. I need to ingest millions of rows into a DB as quickly as possible, and non-batched inserts would be an issue. I know sqlx supports it, so I imagine it shouldn't be that difficult to implement. I could take a crack at it myself, if you're interested - although I am not very experienced with sqlx.

What do you think? Personally, it would mean I would never have to look at other ORMs again :)

Cheers, have a great day!