Version: v2
Connecting to a Database
It is recommended to initialize a database connection in the subscription.service
file in your PUBSUB_ROOT_DIR
. Insert your database connection logic in the init
method.
/pubsub/subscription.service.ts
It is recommended to initialize a database connection in the subscription.service
file in your PUBSUB_ROOT_DIR
. Insert your database connection logic in the init
method.