I am trying to get rows where rate_card_id is different but is not working.
$distinct_rows = RateCharge::where('customer_charge_id',$customer_charge_id)->distinct('rate_card_id')->get();
it is fetching all the rows where customer_charge_id matched.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3c6agRn
via IFTTT
Aucun commentaire:
Enregistrer un commentaire