How to use Query Builder only? #6305

Closed
opened 2026-01-22 15:30:28 +01:00 by admin · 1 comment
Owner

Originally created by @ztj1993 on GitHub (Sep 23, 2019).

Originally assigned to: @Ocramius on GitHub.

Q A
Version 2.6.3

Support Question

Assuming that I have an RPC communication (internal use), I want to transfer information such as where, order, group to the back end according to the model. Can QueryBuilder be implemented?

I just want to use the query builder.

Originally created by @ztj1993 on GitHub (Sep 23, 2019). Originally assigned to: @Ocramius on GitHub. <!-- Fill in the relevant information below to help triage your issue. --> | Q | A |------------ | ----- | Version | 2.6.3 <!-- Before asking question here, please try asking on Gitter or Slack first. Find out more about Doctrine support channels here: https://www.doctrine-project.org/community/ Keep in mind that GitHub is primarily an issue tracker. --> ### Support Question <!-- Describe the issue you are facing here. --> Assuming that I have an RPC communication (internal use), I want to transfer information such as where, order, group to the back end according to the model. Can QueryBuilder be implemented? I just want to use the query builder.
admin added the Question label 2026-01-22 15:30:28 +01:00
admin closed this issue 2026-01-22 15:30:29 +01:00
Author
Owner

@Ocramius commented on GitHub (Sep 23, 2019):

Check the Criteria API: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-associations.html#filtering-collections

You may also want to look at the specification pattern, and at the "query bus" used in CQRS/ES frameworks in the PHP ecosystem.

@Ocramius commented on GitHub (Sep 23, 2019): Check the `Criteria` API: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/working-with-associations.html#filtering-collections You may also want to look at the specification pattern, and at the "query bus" used in CQRS/ES frameworks in the PHP ecosystem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6305