Support the ongoing development of Laravel.io →

sevenpixels

Joined 20 Feb 2014

Statistics

Threads 2
Replies 4
Solutions 0
Articles 0
posted 10 years ago

Caching under 1 second

$expiresAt = Carbon::now()->addSeconds(20); Cache::put($key, $data, $expiresAt); This doesn't se...

0 Likes
6 Replies
Solved

Creating Eloquent model with 2 columns?

tableA that contains 2 particular columns. idA, idB tableB has 1 column that those are mapped to. id...

0 Likes
2 Replies
replied 10 years ago

Caching under 1 second

Oh interesting. Ya, doesn't work when I pass the Carbon Object. But it does work when passing a deci...

0 Likes
replied 10 years ago

Caching under 1 second

I looked through the code and it doesn't check for a Carbon Object, it just looks at it in terms of...

0 Likes
replied 10 years ago

Caching under 1 second

I looked at the documentation on Laravel's site for cache and used the example. http://laravel.com/d...

0 Likes
replied 10 years ago

Creating Eloquent model with 2 columns?

Ya, I get that. But that works with 1 column in each table right? Here I have 1 column in TableB tha...

0 Likes

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.