store sql resultset into datatable
I have got the Trial Version of Thingworx and have imported the PostgreSQLExtensionPackage from the TW-Marketplace. The database connection works, a simple service of the type "SQL-query" shows results.
How can I alter this service in Java script to store the resultset of the SQL (e.g. select * from tab1) in a data table?
Thanks for your help.

