1、$qb
~~~
$qb = $er->createQueryBuilder("e");
……or……
$qb = $em->createQueryBuilder()->from("$entity","e");
~~~
2、$qr
~~~
$qr = $qb->getQuery();
~~~
3、$qq
~~~
$qq = $qr->getResult();
~~~
- 安裝
- 配置
- web服務器
- DependencyInjection
- Serializer
- Ajax
- Annotation
- Controller
- Entity
- Components【組件】
- HttpFoundation【HTTP處理】
- Routing【路由處理】
- Form【表單處理】
- Validator【驗證處理】
- ClassLoader【類加載】
- Templating【模板】
- Security【處理安全問題】
- Translation【語言翻譯】
- Bundles【功能包】
- Doctrine
- entityManager
- entityRespository
- createQueryBuilder
- createNativeQuery
- find
- DoctrineBundle
- doctrine_config
- DoctrineFixturesBundle
- KnpMenuBundle
- KnpPaginatorBundle
- FOSUserBundle
- FOSRestBundle
- FOSCommentBundle
- FOSElasticaBundle
- SonataCoreBundle
- SonataBlockBundle
- SonataMediaBundle
- SonataAdminBundle
- DoctrineORMAdminBundle
- Sonata
- Install_Sonata
- Config_Sonata
- BlockService
- Custom_BlockService
- Custom_Admin
- Problems