Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kathan/strong-oracle-orm
Object Relational Mapping class for the strong-oracle library.
https://github.com/kathan/strong-oracle-orm
Last synced: 10 days ago
JSON representation
Object Relational Mapping class for the strong-oracle library.
- Host: GitHub
- URL: https://github.com/kathan/strong-oracle-orm
- Owner: kathan
- Created: 2015-09-04T15:54:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T15:45:02.000Z (over 7 years ago)
- Last Synced: 2024-08-31T19:49:05.269Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# strong-oracle-ORM
This is an Object Relational Mapping class for the strong-oracle library.#### Dependencies:
* [strong-oracle](https://github.com/strongloop/strong-oracle)Example:
```js
/*CREATE TABLE test_table(ID NUMBER, NAME VARCHAR2(100), CREATION_DATE TIMESTAMP)*/
var settings = {},
oracle = require("strong-oracle")(settings),
ORM = require('strong-oracle-ORM'),
connectData = { "hostname": "localhost",
"user": "test",
"password": "test",
"database": "ORCL"
};new ORM(connectData, 'test_table', function(err, tab){
tab.insert({id:1, name:'Row1', creation_date:new Date()});
});
```