How to get a database connection inside a Wappler extension? (NodeJS)

How to get a database connection inside a Wappler extension? (NodeJS)

Tried using this.getDbConnection() but it requires an argument I probably don’t have access (database name?)

It is the database connection name. You can create an additional input in the extension HSJON to write the DB connection name used in Wappler.

1 Like