Laravel Pilih Kolom Kustom
$products = Product::select([
"id",
"name",
DB::raw("'10%' as tax"),
DB::raw("1 as active")
])->get();
Hardik Savani