We need to insert records in mysql quite fast for the purpose of syncing it with an other database.
Which performs faster inserts. PHP PDO or some ORM (propel/doctrine)
Think about it for a second.
An ORM will involve creating entities and then the code will look at the mappings to figure out how to change that into SQL, etc.
Using PDO is just straight SQL statements. You give it a string of SQL and it'll run that.
PDO wins.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With