Holen Sie sich den einzelnen Säulenwert in Laravel eloquent
Vehicle::find(3)->value('register_number');
Lucky Lark
Vehicle::find(3)->value('register_number');
$items = DB::table('items')
->select('id', 'ref_code', 'name', 'price')
->where('ref_code','=', $request->ref_code)
->first();
ModelName::find(id)->value('column_name');