Support the ongoing development of Laravel.io →

4,599 Threads

[Package] Perform searches in a table giving priorities to each field

Searchable, a search trait for Laravel Searchable is a trait for Laravel 4.2+ that adds a simple sea...

0 Likes
0 Replies

Query Scope with Repositories

Having trouble finding the way to use Query Scopes with Repositories. Is there a way? Would like to...

0 Likes
2 Replies

creating category model where it has parent of category model itself.

I am creating category model where it has parent of category model itself.. i did the relations in m...

0 Likes
1 Replies

How Eloquent works by using 2 where methods ?

I'm using 2 where methods and I don't know how laravel bind them(&& or ||). Below is the cod...

0 Likes
2 Replies
posted 10 years ago

how to use firebirdsql in laravel

how to use forbird sql with laravel.?

0 Likes
0 Replies
posted 10 years ago

Why use Fluent Query Builder?

Hi again, I am learning about Fluent, but my big question is "why?" Can't I just write mos...

0 Likes
3 Replies
Solved

Please support Postgres data types in 4.3

Would really love to see pg data types supported in migrations and supported in eloquent. Json, json...

0 Likes
0 Replies

Paginator->each() returns instance of Collection, not Paginator.

Hi all. I was surprised that the Paginator instance returned by query builder's paginate() had a pr...

0 Likes
0 Replies

Storing multiple checkbox values into mysql database

Hi, I'm making a form where users are able to choose more than one checkbox choices. http://laravel....

0 Likes
2 Replies
Solved

The relationships between 3 tables

EER: http://imgur.com/U7RpNOn Hello, I'm a new on laravel relationship I've question about this. fo...

0 Likes
0 Replies

Database for each user

Hi, In my system I have a main database where is a "users" tabel and for each user I have...

0 Likes
2 Replies
Solved

Testing Relationships

Hi all! How can I mock a call to One-to-Many relationship? For example, I have a call in controller...

0 Likes
3 Replies
posted 10 years ago

Schema Builder - how to create partial keys?

Hi, is there something like $table->timestamp('pid')->nullable()->index()->where('pid',...

0 Likes
0 Replies

Left Join empty result

SELECT b.cat_id, b.cat_parent FROM cat AS b LEFT JOIN cat AS a ON b.cat_parent = a.cat_id WHERE b.ca...

0 Likes
1 Replies

Laravel 4 created_at field cannot be saved when using eloquent creates record

Runtime version: PHP 5.3.10 Laravel 4.0 Create table like this: Schema::create('components', functio...

0 Likes
1 Replies
posted 10 years ago

Passing array to view!

here is my function to select data from database http://laravel.io/bin/Qq2oD and i get this error !...

0 Likes
2 Replies

Empty column when inserting data

Hi, When I create a new item, I always have the column 'link' empty in my table. The table's column...

0 Likes
4 Replies
Solved

Error in Exception handler when not connected to database in Laravel

I have the following code in my app/start/global.php file: App::error(function(\PDOException $ex...

0 Likes
1 Replies
posted 10 years ago

DB::raw vs QueryBuilder, DB::raw works QueryBuilder fails

Hey i have this http://laravel.io/bin/4X3ar how can i get 2 diffrent results with the same query?

0 Likes
0 Replies
posted 10 years ago

Query Builder Right Join Where Between condition

I am doing the below SQL, perfectly work in sql query client select `member_status`.`name`, COUNT(me...

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.