Support the ongoing development of Laravel.io →

4,597 Threads

posted 10 years ago

Help with LIKE into multiple tables

Hello, sorry by my bad english i speak spanish :( i need your help me, please. I need create query f...

0 Likes
2 Replies
Solved

Fillable and guarded, when to use which

I know what each one does, fillable being a whitelist of columns/attributes that I was to explicitly...

0 Likes
3 Replies
Solved

Use our own classes

Hi. We have a web application, and its frontend is not using Laravel yet because it started some yea...

0 Likes
1 Replies

[Package] Database Schema Spy

Laravel SchemaSpy Laravel SchemaSpy is a Laravel artisan command that acts as an interface for the p...

0 Likes
0 Replies

Query Builder query using Eloquent syntax

Greetings to community! I want to get help from Eloquent masters. I have a Query Builder query: $cit...

0 Likes
3 Replies

Eager Loading - "first()" vs. dynamic properties

Hello! Am right about the following behaviour? (I am using Laravel 4.1) When having a simple one to...

quyle92 liked this thread

1 Likes
4 Replies
Solved
posted 10 years ago

binary size 16 columns ?

How to create a binary size 16 (uuid) column ? (for MySQL)

0 Likes
1 Replies

Custom Pivot Model - Doing belongsToMany uses parent model id, NOT pivot model id

I have a Product model, an Option model, and a ProductOptionPivot model. A collection of Option mode...

0 Likes
6 Replies
Solved

using setCallbacks in Chumpers DataTable

How to use ->setCallbacks in chumper's data table so I can Add a sum Row at the buttom of the tab...

0 Likes
0 Replies

Group by pagination without performance issues when there is over 15K results.

Laravel Eloquent query builder suffers grouping by a column and counting the results for the paginat...

0 Likes
3 Replies

Polymorphic Relationships and whereHas not working

Hi Guys, So firstly here is some code ... http://laravel.io/bin/Ld6Gx So I have a user model, and th...

0 Likes
3 Replies

Route redirect

Hey, i want to make a ban system, and i do not know how to redirect a user to a "You're banned&...

0 Likes
1 Replies
Solved

how to get current entry info in laravel eloquent

i have a table in mysql ( ques_id (auto increment , primary) , ques_title (string) ) . By using eloq...

0 Likes
1 Replies

Saving logic in a controller

Hello! It is ok to store saving logic in a controller like this (PostController.php): public fun...

0 Likes
8 Replies

Auth Basic works local but not in server

I created table and the basic authentication works fine locally but when I uploaded to the server ev...

0 Likes
7 Replies

RegEx in a request

Hello¨ Can anybody tell me how to create a request in Laravel using regular expressions? I have to s...

0 Likes
0 Replies
posted 10 years ago

Query with Query Builder. What's wrong?

Hi I want to run the following query with the query builder ... this is what i have Query SELECT...

0 Likes
2 Replies
Solved
posted 10 years ago

Table Seeder limited amount of seeds

Does anyone know if there is a limit to the amount of seeds that can loaded into a mysql db via the...

0 Likes
6 Replies
Solved
posted 10 years ago

INSERT/UPDATE session is taking 2 - 15 seconds

Looks like using the database for session data is slowing down the website I've built, and I can con...

0 Likes
5 Replies

Order by date of a nested model

I'm having difficulty to let the laravel query order by a date field of a nested query. This is what...

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