Unable to pass JSON array to PostgreSQL function jsonb[] parameter using execute raw SQL
When I run the following query I get the error
PostgresError: malformed array literal: "[{"data":"test batch message 1"},{"data":"test batch message 2"}]