mercredi 7 octobre 2020

How to filter data from store procedure using when clause or where clause?

Below is my code, I want to fetch data from stored procedure and filter data using where clause but where or when doesn't work with select clause;

DB::select('exec my_stored_procedure(?,?)', [$a, $b])
-> where(// condition);   //this is not working


from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3d3Cz46
via IFTTT

Aucun commentaire:

Enregistrer un commentaire