-
Love being able to have DB JSON types cast to arrays using the `'json'` `$casts` property.
One thing I noticed was that because arrays are always copied (rather than referenced), you end up with ve…
-
Hi,
I couldn’t find the exact answer to my question.
Basically we have performance issues as a new connection is opened on the fly instead of using a connection pool.
My question is, is Elo…
-
I would like to create a pull request to add these traits for eloquent models. I would change it a bit to use this lib instead of hashid directly, but you get the idea.
I use these two alot and thi…
-
Top of model:
```php
class UserProfile extends Model
{
# Whereas, this explicitly tells Eloquent to use the table `user_profile`:
protected $table = 'user_profile';
// don't add ti…
-
Request to support ros eloquent
-
# Laravel eloquent relationships explained
Eloquent ORM is one of the most exciting and powerful built-in features in Laravel. Before we start we’ve to understand, what ORM means. ORM means object re…
-
@LouisChen1905 has [fork](https://github.com/LouisChen1905/veranda) that works with Eloquent.
-
I have successfully installed the package and created a model and factory with a composite key.
However when I create a model that has a "BelongsTo" relationship I get an error such that
```
Er…
-
Group by not working with a data table.
```
$userPackages = UserPackage::query()
->with(['package:id,name'])
->selectRaw('departure_id, start_date, sum(total_amount) as total')
->gr…
-
Данный мод является дополнением к моду "Бег в броне". Плагин позволит развивать навыки ношения легкой и тяжелой брони посредством прыжковМод позволяет получать опыт за сбор ингредиентов в мире с расте…