Support the ongoing development of Laravel.io →

991 Threads

Using model scopes gives Method not found

I'm having a bunch of trouble with model scopes. I have one scope that works properly, called direct...

0 Likes
4 Replies
Solved
posted 10 years ago

Large volume processing

Hello Does any body have any code to batch process 200k+ records are calls and i am post processing...

0 Likes
1 Replies
Solved
posted 10 years ago

artisan:migrate:refresh undefined method

http://laravel.io/bin/mNVV

0 Likes
1 Replies
Solved
posted 10 years ago

How to copy entire table in database?

#I want to know how to copy existing table through PHP script.. I am new to Laravel. I am trying to...

0 Likes
4 Replies
Solved

whereIn error: Prepared statement contains too many placeholders

I have a simple query like this: $userIdLists = Users::whereIn('id', $idList)->select(array('id')...

0 Likes
2 Replies
Solved

mongodb and laravel4

Hello, I would like to know some suggestion about using using mongodb with laravel4. thanks.

0 Likes
1 Replies
Solved

Display 'Category' names of posts

Hi, I have 3 tables in my database listings (id, title) categories (id, name, parent_id) category_l...

0 Likes
1 Replies
Solved

Transaction doesn't rollback in paticular models.

Hi. I'm replacing old system to new laravel based one. There are many Database-Servers and tables, a...

0 Likes
1 Replies
Solved

How to set the Primary Key and Foreign Key to string

I'm not using the auto increment for the id instead i'm using the 32 char unique id. So when i creat...

0 Likes
6 Replies
Solved

Booleans in JSON API

Hey! I'm trying to build a simple json api where some attributes are of type boolean. The problem is...

0 Likes
4 Replies
Solved

How to use unix timestamp in eloquent?

I want to use the created_at, updated_at and deleted_at fields with unix timestamp.

0 Likes
2 Replies
Solved

Create multiple objects at once

Hi community, I want to create multiple objects with a single click, I want to be able to create a G...

0 Likes
1 Replies
Solved

Simple add to database

I'm trying to make it so someone selects an amount to add to their credits field in the users table....

0 Likes
1 Replies
Solved

Optimize sql Query

Hi I have one scenrio. their is static content in database table. My table look like this. id ti...

0 Likes
1 Replies
Solved

How to order the first table by a column in the second table

Hi, i have a little problem trying to order the first table based on the second table column. Table:...

0 Likes
2 Replies
Solved

How to return a single value from a scope?

This is what I have done so far: public function scopeCityName($query) { return $query ->join...

0 Likes
1 Replies
Solved

Pagination help

Hey there everyone, I'm pretty new to Laravel and MVC frameworks in general. I'm struggling to make...

0 Likes
2 Replies
Solved

DB::statement binding bug?

I'm receiving the following errors when using $bindings with DB::statement. Is there an issue with t...

0 Likes
2 Replies
Solved

Getting hasMany relationship data from hasOne relationship

Hi All, New to Laravel and MVC so I'm a bit stuck and hoping I can get a solution from you. I have 3...

0 Likes
4 Replies
Solved

How to make URLs SEO-friendly with Nested Set Model?

Hello Everyone! I'm using Baum package for Nested Set Model and I have added extra field to database...

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