search

Home  >  Q&A  >  body text

symfony - doctrine ORM DBAL which performs better?

doctrine ORM DBAL Which one has better performance and what application scenarios they will appear in.

滿天的星座滿天的星座2749 days ago548

reply all(1)I'll reply

  • phpcn_u1582

    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.

    reply
    0
  • Cancelreply