Use Javascript create a customize validator to run query to hosted 'UI Bakery Postgres"

I want to use JavaScript to create a customized validator; in this script, I need to connect to the hosted UI Bakery Postgres data source and run SQL scripts.

Hi @G_Liu,

It’s not clear to me what exactly your question is. Do you want to know how to combine SQL scripting and javascript to make the validator or is it a specific part you’re asking about?