Support the ongoing development of Laravel.io →

4,602 Threads

Using Eloquent::with when having a parameter

Hello, I'm Developing a system for displaying a list of mandatories done by a student in a specified...

0 Likes
1 Replies

How to do `INSER IGNORE`?

Is it possible to do INSERT IGNORE INTO by standard methods or I need to do custom raw query? In thi...

0 Likes
1 Replies

Filter search results by tags using eloquent

I have table structure like this posts | posts_tags | tags _________________________ id |...

0 Likes
4 Replies
Solved

Easily accessible tutorials for newcomers

Not sure where to put this these days - spend a few months away from the forums and then boom! - eve...

0 Likes
0 Replies

why whereRaw() not accepting pivot column

I have a ManyToMany relation Users controller public function measurement() { return $th...

0 Likes
0 Replies
posted 10 years ago

Function find()

anyone else has had a problem with the find function of eloquentORM?

0 Likes
1 Replies

Cache Eager Loading

Hi there How I can cache Eager loading in laravel? suppose that we have this query : $today_posts =...

0 Likes
0 Replies

(!) Problem with boolean attr

From my model... public function getNumberDeletedAttribute($value) { return (bool)$value; } public...

0 Likes
2 Replies

Self reference Many to Many relationships

Hi guys! I'm learning Laravel and am working on a personal project as I do it. It's essentially a d...

0 Likes
2 Replies

Add value to the Translator

Hi, I want have someting like : Lang::set('key', 'value') and Lang::set('key', array()) You have an...

0 Likes
0 Replies

Order by another table's rows count

I have 2 tables links and likes (with relation: links.id = likes.link_id) and I need to build query...

0 Likes
1 Replies
Solved

multiple paginate in single view page

I have a view page with 3 paginations. Next link of one effect the other two paginates. When next of...

0 Likes
3 Replies
Solved

yajra/laravel-oci8: Index limitations.

Hi, As you know, there is a limitation in constraints' name definition as it should not exceed 30 ch...

0 Likes
0 Replies

HTML::select

Hey guys, im running the following Query: $user = User::where('active', '=', '1')->get(); Then in...

0 Likes
2 Replies

I can get the records created in the current month, I use postgresql

I can get the records created in the current month, I use postgresql SELECT * FROM quakes WHERE extr...

0 Likes
0 Replies

Eloquent Creating API

Hello I am trying to return data with multiple table at the same time using repository function ulti...

0 Likes
0 Replies

Why am I getting this Internal Server Error?

I have come across a situation that doesn't make much sense to me. Just as some background informat...

0 Likes
2 Replies

where is the "Eloquent" class file?

class User extends Eloquent {} I can't find where the "Eloquent.php" class file in the &qu...

0 Likes
4 Replies

possible to create dinamic sql query

Hello friends, you can create a dynamic sql query: there are 3 input and the user can enter a value...

0 Likes
1 Replies

Select from subquery

hi, i need to do this query: SELECT avg(vote) FROM (SELECT max(timestamp), vote FROM votes_table WHE...

0 Likes
1 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.