1
votes

I have a Firebase cloud function which calls into a Google Cloud SQL instance. With Cloud SQL, an instance connection name like project:region:instance is provided for connecting. Where does that go when connecting with Sequelize which has a constructor which looks like Sequelize(dbName, user, password)?

Where does the instance connection name go?

1

1 Answers

0
votes

I know the answer now. You set the host option to the instance connection name when initializing Sequelize.