Use PostgreSQL extension and other external libraries in Wappler

I want to use this extension library for PostgreSQL in a NodeJS Wappler project.

How can I do this in a way that the functions are available in the Server Connect database query modules?

And more in general: How would external scripts/libraries best be added to have the functions available from the SC action steps? I guess by copying them to a folder within the Wappler project folder and using the API action module to connect to it?

This is a DB extension, so the only way to use it would be via custom queries and use the result off the query further in your project.

What I am asking is how to get this extension and it’s functions available in the SC (custom) query modules. I know I can setup the queries there in those modules.

Or can I install extensions and external libraries using the console possibly? Anyone successfully achieved this?

1 Like