1The data types have to match:
2
3// [1, 2]
4->whereJsonContains('players', 1) // Works.
5->whereJsonContains('players', '1') // Doesn't work.
6
7// ["1", "2"]
8->whereJsonContains('players', '1') // Works.
9->whereJsonContains('players', 1) // Doesn't work.