Examples with using knex on serverless + aws lambda?

aws

#1

I’m currently having some issues getting knex to behave correctly when trying to insert data via knex.

I was wondering if anyone has a good example on getting this to work properly, and if there was any gotchas that I needed to be aware of.


#3

Not Knex specific but I do have an example of connecting Lambda to a Postgres database that you might find useful: https://mattwelke.com/2019/01/06/free-tier-managed-sql-with-aws-lambda-and-heroku-postgres.html

Can you post the code that isn’t working right now?