You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-20Lines changed: 32 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,19 +2,21 @@
2
2
The Oracle Database Multilingual Engine (MLE) enables [JavaScript execution in Oracle Database][1].
3
3
In this database JavaScript environment, there exist some JavaScript modules that are available out of the box.
4
4
This repository contains documentation and interface definitions (in the form of TypeScript declarations) for those predefined modules.
5
-
While the documentation contains set of human-readable, linked pages, the TypeScript declaration files are typically consumed by an IDE for improving auto-completion.
5
+
While the documentation consists of human-readable, linked pages, the TypeScript declaration files are typically consumed by an IDE for improving auto-completion.
6
6
This is particularly useful in a scenario where JavaScript code gets developed locally in an IDE and then deployed to the database.
7
7
8
8
The following JavaScript modules are currently available:
You need an Oracle Database to make use of the JavaScript modules provided in the Oracle Database Multilingual Engine (MLE).
16
-
A very convenient way of getting an Oracle Database instance is to create an always-free Oracle Cloud account and set up a free autonomous database instance there as our [blog article][2] explains in great detail.
17
+
A very convenient way of getting an Oracle Database instance is to create an always-free Oracle Cloud account and use it to set up a free autonomous database instance as our [blog article][2] explains in great detail.
17
18
19
+
### All-In-One Installation (recommended)
18
20
You can install all relevant declarations of these modules plus the declarations of all global symbols (`Polyglot`, `console`, `session`, `soda`, `oracledb`, `OracleNumber`, etc.) in one bundle.
19
21
You can conveniently install `mle-js` from NPM and then reference it in the beginning of your JavaScript code using the `<reference>` tag:
20
22
@@ -23,7 +25,8 @@ npm install mle-js
23
25
/// <reference types="mle-js" />
24
26
```
25
27
26
-
If you only need declarations of a particular module, you can also just install them individually:
28
+
### Installing Individual Modules
29
+
If you only need declarations of a few particular modules, you may also install their declarations individually:
27
30
28
31
```
29
32
npm install mle-js-oracledb
@@ -65,20 +68,25 @@ In order to make the Fetch API available, it needs to be imported first.
65
68
66
69
[Continue reading...][mle-js-fetch]
67
70
71
+
### MLE functions to work with base64 encoded data (mle-encode-base64)
72
+
This module contains code to work with base64-encoded data.
73
+
74
+
[Continue reading...][mle-encode-base64]
75
+
76
+
68
77
### Oracle Database
69
-
Oracle Database is the world's most popular database.
70
-
Available on cloud and on-premises platforms, Oracle Database 19c is the most recent long term release, with an extended support window.
71
-
Oracle Database 21c is the latest innovation release, initially available on Oracle cloud through Autonomous Database Free Tier and Database Cloud Service.
78
+
Oracle Database is the world’s most popular database. Oracle Database 23c, the next Generation Oracle Database, is now available as a Base Database Service delivering the most complete and simple converged database for developers looking to build new microservice, graph, document and relational applications.
79
+
Oracle Database 23c Free is also available for free as a simple download for ease of use.
72
80
73
81
[Continue reading...][3]
74
82
75
83
### Version Mapping
76
84
The following table shows which version of module documentation and declarations work with which version of Oracle Database:
[1]: https://blogs.oracle.com/developers/post/introduction-javascript-oracle-database-23c-free-developer-release"Introduction to JavaScript in Oracle Database 23c Free - Developer Release"
132
144
[2]: https://blogs.oracle.com/apex/post/mle-and-the-future-of-server-side-programming-in-oracle-apex"MLE and the Future of Server-Side Programming in Oracle APEX"
0 commit comments