Support the ongoing development of Laravel.io →

caioregatieri

Joined 23 Sep 2015

Statistics

Threads 9
Replies 10
Solutions 1
Articles 0

convert sql to eloquent query

can someone help me convert this sql query in eloquent query $q = 'select c.id, c.created_at, c....

0 Likes
2 Replies

error with paginate.

I tried $calls = DB::select($query)->paginate(10); but I received an error Call to a member funct...

0 Likes
3 Replies
Solved

help with '::with' on eloquent query

I am trying the following query, however regardless of the value of $ status, it returns the same re...

0 Likes
1 Replies

Add row empty to list

I'm populating a select with the result of a query like this: on controller $departaments = \App\Dep...

0 Likes
0 Replies

verify if user is locked

I need to check if the User is blocked at the time of login. for this I created a users table field...

0 Likes
6 Replies
replied 9 years ago

convert sql to eloquent query

tanerkucukyuruk said: http://laravel.com/docs/5.1/eloquent-relationships Define relationships in yo...

0 Likes
replied 9 years ago

error with paginate.

astroanu said: you cant call paginate on a db query. refer to this for manually creating a paginato...

0 Likes
replied 9 years ago

verify if user is locked

Am newbie, and laravel brings the login system ready, then I do not know where I can make the scan.

0 Likes
replied 9 years ago

Order results

I prederred the 2 method.

0 Likes
replied 9 years ago

Order results

hello Tomastkim, I select a call like this: $ call = App \ Call :: find ($ id); fill all the data o...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.