Postgres - Filtering JSONB Array

I have a Postgres database, and the labels are an array in a JSONB field. If I run a custom query, for example:

SELECT
	id,
	url,
	provider,
	company,
	provisioned,
	hosting_service,
	php_version,
	labels
FROM
	sites
WHERE
	labels::jsonb ? '4'

To filter the results with the query above works fine inside my DB management software.
But if I try to run that same query inside Wappler, it handles the ? like a parameter that results in an error:

How can I add a query with a Postgres ? array operator inside Wappler?

That’s inside my DB management software where the query works fine:

Figured out a solution. In case anybody has the same issue:

use the contains statement for JSONB instead:

WHERE
	labels::jsonb @> '["4"]';

and if you want to use a parameter for the value then add a set value step before -> define the value: '["4"]' and your new query should look like this:

WHERE
	labels::jsonb @> :P1;