[Note] Doctrine

Query Result Formats The format in which the result of a DQL SELECT query is returned can be influenced by a so-calledhydration mode. A hydration mode specifies a particular way in which a SQL result set is transformed. Each hydration mode has its own dedicated method on the Query class. Here they are: Query#getResult(): Retrieves …

Continue reading