unicoderns / orm

Unicoderns Object/Relational Mapping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unicoderns ORM

Unicoderns Object/Relational Mapping

npm version Travis CodeBuild Coverage Status Maintainability Known Vulnerabilities Dependencies Dev Dependencies

Docs available at unicoderns.com

This is a typescript light layer package that allows you to manage and do queries to the DB in an easier way, even without SQL knowledge.

Table of Contents

Quick Start

  1. Install the library: npm install -s @unicoderns/orm

  2. Create a model.

  3. Create a connection as the following example:

import * as users from './dummy/usersModel';
import { Engines, Drivers } from '@unicoderns/orm';

let usersTable: users.Users;
usersTable = new users.Users({
  debug: false,
  engine: Engines.MySQL,
  driver: Drivers.Native,
});
  1. Use the available queries.

Bugs and Features

Do you have a bug or a feature request? Please first check if the issue you found hasn´t been solved yet here. If you want to open a bug or request a new feature, please refer to our contributing guidelines and open your request here.

Do you want to contribute?

If you want to be part of this amazing project, please read through our contributing guidelines to know the process you should follow. The community will be glad to receive your contribution.

Community

Stay in touch with all members of the community and get updates about ORM's development. Follow us on twitter.

Copyright and license

Code and documentation Copyright 2018–2020 to Contributors and Unicoderns S.A. Code released under the MIT License.

About

Unicoderns Object/Relational Mapping

License:MIT License


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%