https://github.com/tschf/sqlcl-npm-demo
https://github.com/tschf/sqlcl-npm-demo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tschf/sqlcl-npm-demo
- Owner: tschf
- License: other
- Created: 2017-05-21T23:41:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-22T02:04:48.000Z (about 9 years ago)
- Last Synced: 2025-10-13T18:31:53.238Z (8 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# SQLcl NPM demo
## Overview
This is just to show an SQLcl script working with an npm module. Note, the used library (nodyn/jvm-npm) doesn't give full access to the Node API, so not all sources will work.
## Usage
To try this program out:
```
git clone https://github.com/tschf/sqlcl-npm-demo
cd sqlcl-npm-demo
npm i
sql connectString
script lodashExample.js
```
Which should produce the following output:
```
SQL> script lodashExample.js
The second last item was 164
```
## Author
Trent Schafer
## License
Apache