Support the ongoing development of Laravel.io →

4,311 Threads

drop table Password reset

hi i drop manual table password reset and after this i want to run php artisan migrate:rollback thro...

0 Likes
4 Replies
Solved
posted 10 years ago

Can't we call MySQL user defined function in Eloquent select query...?

Can't we call MySQL user defined function in Eloquent select query...?

0 Likes
3 Replies

need help on task manager and notification

hello i am working on mi graduation project and mi app using laravel,it will be a project manager so...

0 Likes
1 Replies

Laravel 4.2 WhereBetween Not Working

Hi Guys, Please help me for this question. http://stackoverflow.com/questions/31669501/laravel-4-2-w...

0 Likes
0 Replies

Having issues with relationship tables and eloquent

I'm having issues with a relationship table and pulling the data from the lookup table. I have a mem...

0 Likes
4 Replies
Solved

Need help with Eloquent query builder

I need to rewrite the following raw query using the Eloquent Query Builder. Any help would be much...

0 Likes
0 Replies

Model timestamp scope Year

Hello, i'm trying to specify a scope to filter a timestamp by year The goal is to be able to do some...

0 Likes
2 Replies
Solved

Recursive condition on a relation.

So I got a small situation here i got a model for pages, with a all so known parent_id field as rela...

0 Likes
0 Replies

Modelname:where('some where condition') works fine in the controller .but if i try to run it inside any model or class it does not work

Hi Need some help.. I am building my own login model using a customuserProvider (it implements User...

0 Likes
2 Replies
posted 9 years ago

withTrashed() on a Recursive Relationship

I am creating a forum feature for my company's web app that includes nested replies that are very si...

0 Likes
1 Replies
Solved

problem in making login app

here it is my code: http://laravel.io/bin/yGXy8 when my entered value is match to database value it...

0 Likes
1 Replies

How to skip a row in laravel eloquent query builder with file_exists condition

This is for a search query based on many input fields, i'm doing if statements inside the query base...

0 Likes
2 Replies

Probably stupid newbie 'what's the best way to..' question

I'm a long time old school procedural programmer, slowly (at my age, everything is slow) getting my...

0 Likes
3 Replies
Solved

Eloquent, select only rows where the relation exists

I am trying to select from a table, but I only want to select things that have an existing relations...

0 Likes
2 Replies
Solved

What's returned by Auth::user() ?

I'm trying to make changes to the user record. I expect a User Eloquent model when I call Auth::user...

0 Likes
3 Replies

[HELP] USER edit form checkbox not checked - Entrust

this is my edit function: public function edit($id) { $user = $this->user->find...

0 Likes
1 Replies

No such table bill_user

I am trying to attach bills to a user which they can create themselves. However I am having problems...

0 Likes
2 Replies

Decimal getting truncated

Hi there, I have a field in my DB that was created with Schema builder, that is behaving unlike any...

0 Likes
1 Replies
Solved
posted 9 years ago

Laravel 5.1 Updated Model Relationships when Eagerly Loaded Don't Persist to Database

I'm updating a Rental that belongsTo a Location, and I can fill and persist the Rental data, but whe...

0 Likes
0 Replies

query with variables

Can someone help me to "translate" this mysql query to laravel. SET @prev=0,@rownum=0; SEL...

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