Support the ongoing development of Laravel.io →

4,585 Threads

Can I query the results of a query?

This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...

0 Likes
2 Replies

L4 external auth

Hi, my L4 apps runs in MySQL, and all my user accouts are in SQL-Server. I would like create a basic...

0 Likes
1 Replies
posted 10 years ago

Concating Issues

Hello Forums, I seem to be having a wee bit of trouble, well, I mean, a lot of trouble with attempti...

0 Likes
6 Replies

Event trigger and validation

Hi, When I save a model, I want to validate its contents; I use a validator and a protected array of...

0 Likes
0 Replies

How create this SQL with laravel

Anybody know how create this SQL with Query builder: SELECT * FROM (SELECT * FROM 005_056_cola_envio...

0 Likes
2 Replies

Problem of model functions since the last composer update

Hi, I have update the composer.phar today, and since that, all the methods in the model files don't...

0 Likes
8 Replies
Solved

[Benchmarking] Using your public API internally, too

Hey guys I had some doubts and concerns about using an HMVC approach with Request::create() so I did...

0 Likes
1 Replies

Integrating Databases with Exotic Column / Table Names & Laravel Auth

How well does Laravel (or more so PHP) handle integrating with databases where the table/column name...

0 Likes
0 Replies

What's the best way to troubleshoot a controller problem?

In my controller I'm trying to delete a record from a table and the only message I get back to the c...

0 Likes
2 Replies

Querying ORM with WHERE clause

Howdy. I have nested resource controllers, like so: http://example.org/v1/jobs/1/departments My issu...

0 Likes
1 Replies

Using a relationship query on one table that has two columns to match?

I have two tables. One is People. The second is Files. Files contains all uploaded files through an...

0 Likes
3 Replies
Solved
posted 10 years ago

How would one run a `SELECT` on a subquery using Fluent?

I'm currently building out a query using Fluent, and it works correctly - but I'd like to run SELECT...

0 Likes
1 Replies
posted 10 years ago

rolling back a previous migration

what i need to do is rollback a migration i did a few days ago. is this possible? i've read the docu...

0 Likes
1 Replies

Pro-active Caching: Looking For Ideas

I have built a business application using Laravel that utilizes several very large datasets. There i...

0 Likes
1 Replies

Change associated table in model with setTable() don't works

Hello community, I try to get data via one model from two different tables, so I want to change the...

0 Likes
0 Replies

How can I cache all data in Eloquent

How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...

0 Likes
1 Replies
posted 10 years ago

database for cms

what is best way to make cms and database with laravel 4? Simple cms where users change page content...

0 Likes
2 Replies

How to reference this object's "belongsTo" user?

In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...

0 Likes
9 Replies
Solved

whereNotIn Query replacing my array variables

Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...

0 Likes
2 Replies

Delete quotes in query to execute

I need to execute a query with group by. But the group by is not for a field. I need to group by wit...

0 Likes
0 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.