Top "Query-builder" questions

A query-builder is a set of classes and methods that is able to programmatically build queries.

symfony2 form querybuilder with parameters

I want to put my entity in the function of the query builder: ->add( 'weeks', 'entity', array( 'class' =&…

forms symfony builder query-builder
How do I get a "select count(*) group by" using laravel eloquent

I would like to execute the follow sentence using laravel eloquent SELECT *, count(*) FROM reserves group by day The only …

laravel laravel-5 eloquent query-builder
Laravel - Querybuilder with join and concat

Im trying to pull all users from the users table who match a certain group in the users_groups pivot …

php mysql laravel-4 eloquent query-builder
Group by not working - Laravel

I'm not able to run this simple query in Laravel 5.3 $top_performers = DB::table('pom_votes') ->groupBy('performer_…

laravel laravel-5.3 query-builder
Symfony2 QueryBuilder join ON and WITH difference

I'm new with Symfony2 and I built successfully my first join through QueryBuilder and Doctrine 2. Probably this is a stupid …

symfony doctrine-orm left-join query-builder
How to do a LIKE database query in Symfony2

This should be simple but I can't find a working example. Here's a controller method that throws the error "Invalid …

symfony doctrine-orm doctrine query-builder dql
Join subquery with doctrine 2 DBAL

I'm refactoring a Zend Framework 2 application to use doctrine 2.5 DBAL instead of Zend_DB (ZF1). I have the following Zend_…

php mysql doctrine-orm zend-framework2 query-builder
Query builder not inserting timestamps

I am using Query builder to insert data all fields are been inserted but timestamps like created_at and updated_…

php mysql laravel query-builder
Symfony form query_buider and entity repository

I'm trying to create a form with data in collection type depending on the user being logged. I'm following this …

symfony symfony-forms dql query-builder
Laravel query builder returns object or array?

I'm building a very simple web app with Laravel. I've built two separate Controllers, which each return two separate views, …

php laravel eloquent query-builder