Using arrayContains with a jsonb postgres type

arrayContains(matches.teamA, [id])


teamA is a jsonb type of string[] i want to see if the id exists inside whats the best way of doing this
Was this page helpful?