Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

strong-oracle-orm

kathan130.1.1

Object Relational Mapping class for the strong-oracle library

database, db, oracle, orm

readme

strong-oracle-ORM

This is an Object Relational Mapping class for the strong-oracle library.

Dependencies:

Example:

/*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()});
});