Skip to content

Comment on JavaScript in your Postgresparent

Comments

Sure, it lets you use JavaScript at every level, from the client side (via in-browser JS) to the server (application side) via Node.js to the backend database (via PL/v8.)

So you don't need different languages for client components, server components, and stored procs / db functions.

The author of PLV8 is also continuing to enrich the functionality with things such as this early github project which aims to add the mongo API and functionality in Postgres - https://github.com/umitanuki/mongres

is there integration like this with elasticsearch? that would be awesome.

There is https://github.com/elasticsearch/elasticsearch-lang-javascri...

Though, it is based on Rhino, not v8 – and it's not sandboxed.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.