https://github.com/plv8/plv8
https://plv8.github.io/
Code: https://github.com/typed-rocks/js-in-...
By using the plv8 postgres extension, we can run JavaScript or compiled TypeScript code in our database. This even allows us to run bundled libraries like zod inside our database. So let's give it a try.
0:00 Intro
0:13 PLV8 Extension
1:19 helloJs in SQL
3:30 Bundle Zod
5:15 Save the lib into Postgres
5:50 Create the loader
7:50 Load the lib
8:40 Use Zod in Postgres
11:20 Enable the trigger
12:50 Outro and final thoughts
Sur cette page du site, vous pouvez voir la vidéo en ligne How To Run JavaScript & TypeScript in PostgreSQL - A Complete Guide durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Typed Rocks 03 avril 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,080 fois et il a aimé 92 téléspectateurs. Bon visionnage!