Support the ongoing development of Laravel.io →
caioregatieri

caioregatieri

Joined 23 Sep 2015

Statistics

Threads 9
Replies 10
Solutions 1
Articles 0
posted 10 years ago

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
posted 10 years ago

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 10 years ago
0 Likes
replied 10 years ago

Fill form with query result

Thank you Thomastkim, I got so: <div class="form-group"> {!! Form::label('tags','I...

0 Likes
Solved
replied 10 years ago

Fill form with query result

thomastkim said: Is tags a column in the posts table or a relationship? is relationship table post...

0 Likes
replied 10 years ago

select posts order by most viewed

caioregatieri said: Thomastkim, it is perfect answer. thanks I just want one more help. I have to u...

0 Likes
replied 10 years ago

select posts order by most viewed

Thomastkim, it is perfect answer. thanks I just want one more help. I have to use paginate in this r...

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.

© 2026 Laravel.io - All rights reserved.