Closed kieran-s closed 1 year ago
Unfortunately not, as this package relies on the getting the primary key from the model, which is not possible with the base builder.
Maybe accept a optional parameter for primary key when using caller with DB facade? PHP 8's named parameters will also make it easy.
Is there any way to use this with the DB query builder (i.e. DB::select() ) ? Or can it only be used with eloquent?
If not, could it possibly be implemented?