-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Is it possible to get() from an array of hashids?
Or perhaps access the hashidToId() method statically?
At the moment I am having to do:
$ids = [];
foreach ($hashids as $hashid) {
array_push($ids, (new Product)->hashidToId($hashid));
}
return Product::whereIn('id', $ids)->get();Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels