We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Batch Insert

Sorry if is duplicated, but i searched in forum and I don't found nothing.

Phalcon's ODM has any support to batch insert?

Tks.

Due to the lower level *SQL libraries forcing 1 SQL statement per query, I doubt this would be possible without some sort of abstraction.

So basically I would assume there is not, because you'd have to have it on a loop or anyway, or just build your own function to emulate it.