WindmillWWindmill
Powered by
KanaK
Windmill•3y ago•
2 replies
Kana

Importing pgClient when using bun

The docs mention that to use the pgClient to interact with your database you can use the following line
import { pgClient } from 'https://deno.land/x/windmill@v1.88.1/mod.ts';
import { pgClient } from 'https://deno.land/x/windmill@v1.88.1/mod.ts';


But what would be the bun equivalent? I've been tinkering with it for a bit now and can't seem to get it to work.
WindmillJoin
3,388Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

We're live here https://discord.com/channels/930051556043276338/1278977038430240813

henri-c · 6d ago

rubenf

Infrastructure as code

rubenf · 4w ago

rubenf

As we're preparing for a new Windmill sandbox SDK, we took the opportunity **to open-source NSJAIL sandboxing** and make it available in CE and easier to set. In 1.634.0, just set nsjail to benefit from the tightest security and isolation per job. It's constraining so no need to use it unless you need but now you won't be restricted in security for CE if you need to.

rubenf · 4w ago

Similar Threads

Error when calling a bun script using `wmill.runScript`
httpteapotHhttpteapot / help
2y ago
Exception when importing Python's CV2 lib
shoomowSshoomow / help
3y ago
Importing docx
DevonDDevon / help
13mo ago
Importing cheerio
cali (brazil)Ccali (brazil) / help
3y ago