-
Map the following tables:
- es_order
- es_order_product,
- es_member,
- es_address,
- es_payment_method,
- es_order_status, and
- es_order_product_status.
-
Using laravel-stapler, my laravel eloquent model is trying to save an attachment to S3. S3 Configuration has been set and are being picked up properly by the laravel-stapler package.
Here's my eloque…
-
How can you integrate this if you are already extending your own custom repositories and interfaces?
$this->GridEncoder->encodeRequestedData expects Mgallegos\LaravelJqgrid\Repositories\RepositoryInte…
-
How would I build my datatable if my query with Laravel DB looks like :
```
$results = DB::select('
SELECT
publisher_name,
SUM(sa…
-
Задача в том, чтобы данные не удалять, а помечать как удаленные.
Есть два варианта:
Добавить поле «deleted» и в зависимости от его значения делать все выборки и операции с данными, то есть как с де…
-
For a model with:
``` php
protected $primaryKey = null;
```
when `$instance->delete()` is called, it fails with out of memory fatal error.
-
Obviously, you should not be calling forceDelete() to delete a row in the table unless your model has the softDeletingTrait, but the unintended consequences are obviously quite terrible if you do it a…
-
Datetime Carbon doesn't work:
```
return Datatables::of($users)
->edit_column(
'created_at',
'{{ $created_at->format(\'d/m/Y H:i\') }}'
);
```
But it works:
```
return Datatable…
-
## Options
Our options are basically to build our own lazy-loading strategy or instead use a whole ORM to take care of all database operations.
I have looked into a few ORMs, but it seems like using …
-
Hi
I think it would be a great addition to use Stapler as a single table, e.g `managed_files`.
The table would include a `morphTo` relationship to have multiple model types create a relation to it. O…