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

Native support for server-side JavaScript in Oracle Database 23ai #44

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martin-bach-oracle
Copy link

Background

Based on #41 and issues raised with both oracledb (cf oracledb issue 1629) and the database team at Oracle, support for sql-template-tag was added for JavaScript "stored procedures". Multilingual Engine, powered by GraalVM, allows developers to write business logic in JavaScript in addition to PL/SQL. Oracle Database 23ai, Release Update 5 on Linux x86-64 introduces support for sql-template-tag in the JavaScript SQL Driver in addition to client-side oracledb.

Change

Based on #41 both readme.md and package.json have been modified.

@@ -14,6 +14,7 @@
"mysql",
"sqlite",
"oracledb",
"Multilingual Engine/JavaScript"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer not to add this as a tag 🙏

@@ -88,7 +88,7 @@ query.values; //=> ["Blake", "Bob", "Joe"]

## Recipes

This package "just works" with [`pg`](https://www.npmjs.com/package/pg), [`mysql`](https://www.npmjs.com/package/mysql), [`sqlite`](https://www.npmjs.com/package/sqlite) and [`oracledb`](https://www.npmjs.com/package/node-oracledb).
This package "just works" with [`pg`](https://www.npmjs.com/package/pg), [`mysql`](https://www.npmjs.com/package/mysql), [`sqlite`](https://www.npmjs.com/package/sqlite). Support for Oracle Database is available for both client ([`oracledb`](https://www.npmjs.com/package/node-oracledb)) and server mode ([Multilingual Engine/JavaScript](https://docs.oracle.com/en/database/oracle/oracle-database/23/mlejs/index.html)), the latter since Oracle Database 23ai for Linux x86-64 ([API documentation](https://oracle-samples.github.io/mle-modules/docs/mle-js-oracledb/23ai/classes/api.IConnection.html#execute)).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT about making this a list, e.g.

This package "just works" with:

* ...

This should be easier on the eyes to read since OracleDB is now most of the paragraph and I'd like to keep it easy to skim for other DB users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants