Calling Thing properties in a SQL command in Twx
Greetings,
To provide a context:
I'm building an app to store data from an experience. The process is simple, the app gets data from users and share it to Twx, Twx sends the data to pSQL and gets all data stored in the db to show it in a mashup.
Now, I'm triying to send the data to postgresql.
I created a js service to get the data from vuforia. I just read that I can't use "me.property" in SQL commands, that I should create variables in the js service and invoke those variables into the SQL command. But I'm not sure how.
A different way I thought I could use was to call the Thing property into the SQL. But It didn't work, I think is because I didn't use the right command.
Another way was to input the data directly into the SQL but I will have the same problems later in the process because I will need the data to use it in different services.
Do you have any advise? Is there any guide about programming SQL in Twx?
Thank you a lot for all your advises.

