sql: postgres()

in shared/database/databaseConnection.ts [56:65]


    sql: postgres({
      ...basicConnectionDetails,
      hostname: IS_RUNNING_LOCALLY ? "localhost" : databaseHostname,
      database: DATABASE_NAME,
      password: iamToken,
      ssl: "require",
      onclose: (connectionNumber) =>
        console.log(`Connection (#${connectionNumber}) closed`),
      idle_timeout: 60, // seconds
    }),