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,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 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
12mo ago
Importing cheerio
cali (brazil)Ccali (brazil) / help
3y ago