Reputation: 955
I am building a serverless app and want to connect to an existing database. How would I go about doing this?
Upvotes: 0
Views: 329
Reputation: 909
Connection to the DB is not something infra-related but functional. So you will have in the code the connection to the DB and call to cursors.
Exception: If you use app-sync for your API with direct calls (not lambda), you can declare the DB and make calls to it directly.
Upvotes: 1