Piloperatoren virker ikke i arrays. Brug dette i stedet:
DB::table('emails')
->whereJsonContains('to', [['emailAddress' => ['address' => '[email protected]']]])
->get()
Piloperatoren virker ikke i arrays. Brug dette i stedet:
DB::table('emails')
->whereJsonContains('to', [['emailAddress' => ['address' => '[email protected]']]])
->get()