doctrine ORM DBAL Which one has better performance and what application scenarios they will appear in.
phpcn_u15822017-05-16 16:46:07
ORM is also based on DBAL. DBAL provides a unified pdo-based interface. The main method of use is to use QueryBuilder or directly execute native sql. Based on it, ORM uses objects to map table data and relationships, and the interface is richer. QueryBuilder and DQL, so look at the usage scenario to decide which one is more efficient.