Support the ongoing development of Laravel.io →

4,597 Threads

Collection Search

http://laravel.io/bin/DqxWo Hello, I have a collection that I would like to filter it down to what I...

0 Likes
0 Replies

"Metadata" table to array, "Automatically"?

I am interfacing my code with Wordpress which has a table called "Usermeta". The table st...

0 Likes
2 Replies
posted 10 years ago

Running query

Hey, i have a small problem, when running a query like this $user = DB::table('users')->where('na...

0 Likes
1 Replies
Solved

Where clause comparing updated_at to pivot created_at strange results...

I have a User and a Trip model with belongsToMany relationships and a pivot table between. I'm tryi...

0 Likes
0 Replies

Multiple category tables

Hi Guys, I have a question about the naming convention of the tables. We have multiple tables with s...

0 Likes
2 Replies

Eloquent convention

Hi Laravel Team, I have had some deep trouble on writing Eloquent queries for multiple nested reques...

0 Likes
0 Replies

Model data formatting, models and relations.

Hey Guys, So i'm just learning Laravel as a side project and have come across an interesting sort of...

0 Likes
0 Replies

Selective join, trouble with duplicate results

What I'm trying to do is: Output results with a filter from a pivot table where 'posts' can have up...

0 Likes
2 Replies
Solved

Open source DB driven ACL

I like to see a database driven Acl method for laravel just like cakephp, Cakephp has a method with...

0 Likes
0 Replies

How to store data in different tables in db?

Hi..Recently I installed DOPTOR CMS.Really it is working good.I have one doubt,while creating the mo...

0 Likes
1 Replies

Problem saving information in the database.

Hi, I'm new in Laravel. I'm having a problem saving data in the database. I get an array and I'm try...

0 Likes
1 Replies

PDOException SQLSTATE[HY000] [2002] No such file or directory

Hi, I have small problem with Laravel framework on shared hosting with phpmyadmin and only ftp acces...

0 Likes
1 Replies
Solved

Custom timestamp column

Hi guys, I'm trying to save a custom timestamp "expires_at" in DB, but not working here is...

0 Likes
4 Replies
Solved

Confusion about programatically chaining where and take statements

Hi, I'm working on an API and one of the endpoints has all optional parameters. What I'm trying to d...

0 Likes
7 Replies
Solved

Get an item through pivot table by a "has" relationship...

Hello all, I have some model called location, which describe a location, (say the eiffel tower). Thi...

0 Likes
2 Replies

Most efficient count on relationships

I'm currently using Eloquent for my database queries, but when an user logs off I want to get a tota...

0 Likes
2 Replies

Best way to link a model to two other models

Hi guys, I'm trying to find the best way to implement the following. I have a Client of a given Sect...

0 Likes
2 Replies

Add milliseconds to eloquents created_at/updated_at

Hi guys! I would really love to be able to to include milliseconds to the time fields in my models....

0 Likes
1 Replies

Eloquent LEFT JOIN WHERE NULL producing strange results

I'm trying to use Eloquent to perform the following query during a database seed: SELECT * FROM...

0 Likes
1 Replies
Solved

N+1 single view Data Retriving

Dear All, I have a problem like that. // First, I created one to many relation for Post and PostCate...

0 Likes
2 Replies
Solved

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.