npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sxanyar/sequelize-oracle

v3.3.2-0.1

Published

Multi dialect ORM for Node.JS/io.js

Downloads

2

Readme

Sequelize-oracle

Bitdeli Badge Build Status Dependency Status Code Climate Test Coverage

Sequelize is a promise-based Node.js/io.js ORM for Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server and Oracle. It features solid transaction support, relations, read replication and more.

Note

sequelize-oracle is a fork of sequelize@master
This fork add support of DML statements for Oracle
If you don't need Oracle support, prefer the original Sequelize

[email protected] is in development. Only the old version (1.7.10-x.x) is on npmjs registry.

Compatibility:

Sequelize-oracle is compatible only with [email protected] and [email protected] (with oracledb >= 0.6).
Sequelize-oracle is only tested with Oracle 11 XE and [email protected]

Installation

The basic install steps are:

  • Install oracledb

    • Install the small, free Oracle Instant Client libraries if your database is remote, or have a local database such as the free Oracle XE release.
    • Run npm install oracledb to install from the NPM registry.

    See INSTALL for details.

  • Install sequelize-oracle

    • Run npm install sequelize-oracle to install from the NPM registry.

Oracledb config in Sequelize-Oracle

  • With Oracledb, the maximum number of rows that are fetched by select query is 100 rows. You can change this parameter with options.maxRows in each query.
  • In Sequelize, for Raw query, the outFormat parameter for oracledb is OBJECT.
  • AutoCommit is enable by default. If you don't want autoCommit, use Sequelize Transactions for manage commit et rollback.

Limitations:

  • DataType: only this dataTypes are managed:
    • STRING (=VARCHAR2)
    • CHAR
    • DECIMAL (=NUMBER)
    • BIGINT (=NUMBER(19,0))
    • INTEGER
    • FLOAT
    • DOUBLE
    • UUID (=CHAR 36)
    • DATE (=TIMESTAMP WITH LOCAL TIME ZONE)
    • DATEONLY (=DATETIME)
    • BOOLEAN (=NUMBER(1))
  • Index: index type is not fully managed

Todo:

  • ENUM DataType

  • improve index for type

  • resolve the pb "name column length > 30 char" in nesteed querry

  • ...

Sequelize

Build Status Dependency Status Test Coverage Bountysource Flattr this

Sequelize is a promise-based Node.js/io.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. It features solid transaction support, relations, read replication and more.

Documentation

Installation

npm install sequelize

From 3.0.0 and up Sequelize will follow SEMVER. 3.0.0 contains important security fixes so we highly recommend that users upgrade.

If you still use 1.7 please prefer to Upgrading to 2.0 and the changelog between 2.0 and 3.0. 2.1 also has a breaking change.

Features

  • Schema definition
  • Schema synchronization/dropping
  • 1:1, 1:M & N:M Associations
  • Through models
  • Promises
  • Hooks/callbacks/lifecycle events
  • Prefetching/association including
  • Transactions
  • Migrations
  • CLI (sequelize-cli)

Resources