Hello Sir I want to search use collect (Where) in laravel
2 => array:13 [▶]
3 => array:13 [▼
".id" => "*15E"
"name" => "yuliano"
"password" => "panji123"
"profile" => "voucher2menit"
"limit-bytes-out" => "104857600"
"uptime" => "0s"
"bytes-in" => "0"
"bytes-out" => "0"
"packets-in" => "0"
"packets-out" => "0"
"dynamic" => "false"
"disabled" => "false"
"comment" => "jan/14/2022 00:18:53 up"
]
i want to get data is only "UP"
$response2 = $query->Where("comment", substr(-2) == "vc");
please help me sir
source https://stackoverflow.com/questions/70597402/get-where-with-substr-in-laravel
Comments
Post a Comment