I have a table of drug prescription were a prescription for all users stored. So I want to fetch the latest prescription row of a defined user by id.
I have tried to use where clause and latest method but some error occurred as shown here; Object of class Illuminate\Database\Eloquent\Builder could not be converted to a string.
The expected result was one latest row of the defined user by id
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2yc8eNb
via IFTTT
Aucun commentaire:
Enregistrer un commentaire