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)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.