so i created this fuction to return 'meta', anyone knows how to access [key] => date_achat / i want to display only the arrays where key == date_achat #412
public function gethistory($reference)
{
$Equipement = Equipement::where('reference', $reference)->first();
foreach ($Equipement->histories as $eq) {
print_r($eq->meta);
public function gethistory($reference) { $Equipement = Equipement::where('reference', $reference)->first(); foreach ($Equipement->histories as $eq) { print_r($eq->meta);
}