Support the ongoing development of Laravel.io →

4,599 Threads

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

Exception: Object of class DateTime could not be converted to string

Hi! For a while now (I think probably since the update to Laravel 4.1) I sometimes get the Error Exc...

0 Likes
2 Replies

check if value exists in array

I have 2 queries and I want to check if values of one queries exists in array of other query. I have...

0 Likes
3 Replies

insert data from form to table but the data inserted row empty

insert data from form to table but the data inserted row empty what the problem?

0 Likes
8 Replies
Solved

Is it possible one query for 3 models?

I have 3 tables: posts, comments, and users. One post has many comments (one to many relation.) Ever...

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