Skip to content
Selahattin edited this page Dec 3, 2015 · 5 revisions

->build()

It builds query with uri parameters.

$queryBuilder = new QueryBuilder(new User, $request);

$queryBuilder->build();

To access the query results:

->paginate()

$queryBuilder = new QueryBuilder(new User, $request);

$queryBuilder->build()->paginate();

->get()

$queryBuilder = new QueryBuilder(new User, $request);

$queryBuilder->build()->get();

->lists(String $value, String $key)

$queryBuilder = new QueryBuilder(new User, $request);

$queryBuilder->build()->lists('name', 'id');