Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dsbuild as inspiration for emitting plv8 Javascript from Typescript #150

Open
shah opened this issue Aug 13, 2023 · 0 comments
Open
Labels
📝 Emit SQL or other generated content emitter

Comments

@shah
Copy link
Contributor

shah commented Aug 13, 2023

PL/v8 (docs) is a library that allows users to write PostgreSQL stored procedures, functions, triggers, and other code in Javascript. However, we want to write type-safe TypeScript code and have that transpiled to Javascript.

Use dsbuild directly as a module or use it for inspiration so that we can create PostgreSQL stored routines using SQLa-wrapped TypeScript and emit PL/v8-friendly JavaScript that can be directly loaded into PostgreSQL.

See related #114

@shah shah added the 📝 Emit SQL or other generated content emitter label Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Emit SQL or other generated content emitter
Projects
None yet
Development

No branches or pull requests

1 participant