Support the ongoing development of Laravel.io →

MohammadKermani

Joined 29 Nov 2014

Statistics

Threads 2
Replies 1
Solutions 1
Articles 0

How to find different field by laravel find method?

I know there are a method what called find in laravel, I have a table with this structure (articles...

0 Likes
1 Replies
Solved

Why when I run a query laravel return something that I can't understand?

When I run this I get a very long text as result: ....Route::get('/', function() ....{ ....$posts=DB...

0 Likes
2 Replies
Solved
replied 9 years ago

How to find different field by laravel find method?

Thats easy, Just add this to your model: protected $primaryKey = 'article_id'; And your model shoul...

0 Likes
Solved

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.