Support the ongoing development of Laravel.io →

4,603 Threads

Model with calculated sql field doesnt paginate

Hi All. I can't get the paginator to work with a calculated SQL field see below for example // this...

0 Likes
3 Replies
Solved

Counting and filtering results via a Pivot table

I'm currently building a newsletter system for multiple users. Each user has there own set of 'recip...

0 Likes
6 Replies
Solved

Updating a record using repository

Hi All, I have a repository to create a new record for residents, but now I need to use the same rep...

0 Likes
3 Replies
Solved

Drop down list formatting

Hi, I am trying to format drop down lists items while using lists, SiteSession::where('company_id','...

0 Likes
1 Replies

Integer Dates with *SQL Database in Laravel

I've been using integer MySQL columns to store unix timestamp dates and really prefer/like it. I'm j...

0 Likes
6 Replies
posted 10 years ago

refresh database without deleting data?

Is it possible to use artisan to refresh the migrations without deleting the data? I've setup my mig...

0 Likes
1 Replies

API-friendly Paginator

I'm interested in building a solid API for consuming resources from my projects. Would like to hear...

0 Likes
2 Replies

Connect Laravel with Oracle 11g xe in Linux(Ubuntu)

Hi, Help connect Laravel with Oracle 11g xe in Linux.

0 Likes
0 Replies

How do I create the ER [User] hasOne [Profile]?

Total newbie here and having trouble figuring this out. I have a table called users and a table call...

0 Likes
2 Replies

Why can't Eloquent use join clauses for eager loading?

class Cat extends Eloquent { public function user() { return $this->belongsTo('User'...

0 Likes
0 Replies

Eloquent relationships - getting user id..

Just a quick one, i'm struggling to do relationships correctly.. I have 2 tables 'users' and 'files'...

0 Likes
5 Replies

where clause with substruction?

i use to build a query like this: $query->where (col1 - col2) > 2 how can this be done with th...

0 Likes
2 Replies

Populating a select (DropDown) from DB

Hi, I am having trouble with populating a dropdown with values from a relationship. The code below w...

0 Likes
3 Replies
Solved

how to retrieve data from database using table formatting

how to retrieve data from database using table formatting

0 Likes
3 Replies
Solved

how object work?

$from = Att::Find(Input::get('pos')); $to = Att::Find(Input::get('to'));...

0 Likes
3 Replies
posted 10 years ago

addressing the parent table in the 2nd level nested query, SQL question

Hi, This one is completely SQL question. Assuming we have the next query: SELECT *, (SELECT COUNT(id...

0 Likes
2 Replies

Simple Eloquent calls - save error

Hi .. new to Laravel here .. and learning Eloquent ORM. I have a jobs table. I have a Job.php model,...

0 Likes
2 Replies
posted 10 years ago

Problem with whereRaw

Hello, i need help me please, i can't get all rows from table productos, explain me I have two table...

0 Likes
1 Replies
Solved

Incremental ids for all users

I'm creating an application which allows users to register an account. Once signed in, they can then...

0 Likes
3 Replies
posted 10 years ago

Schema Builder : Bit datatype not available

I would like to keep all of my table creating in migrations, however, the table I am trying to creat...

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.