Saturday 27 June 2020

Using JSON with SQL

Hi y’all,So I’m using aws lambda to query a postgresql db, and I’m trying to use the event object to pass in params to the query. The problem is that the sql query needs a string with single quotes whereas the json param is a string in double quotes.Any ideas on how I can get around this ?Thanks

Submitted June 28, 2020 at 05:55AM by mejjaLezza

No comments:

Post a Comment