Need help with openrecord?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

PhilWaldmann
482 Stars 36 Forks MIT License 893 Commits 10 Opened issues

Description

Make ORMs great again!

Services available

!
?

Need anything else?

Contributors list

# 125,148
socket-...
oracle
actived...
GraphQL
483 commits
# 169,791
wkhtmlt...
nodejs-...
oracle
GraphQL
9 commits
# 172,376
yarn
Rails
React
actived...
7 commits
# 567,604
ldap
oracle
actived...
GraphQL
3 commits
# 605,808
ldap
oracle
actived...
GraphQL
2 commits
# 140,090
C++
actived...
sqlite3
SQL
2 commits
# 120,845
solidit...
sar
blender
jvm-lan...
1 commit
# 551,503
xmpp-cl...
C
Apache ...
oracle
1 commit
# 21,397
serverl...
Ruby
github-...
HTML
1 commit
# 90,529
subset
GraphQL
sqlite3
Less
1 commit
# 664,730
ldap
oracle
actived...
GraphQL
1 commit
# 154,434
Objecti...
sqlite3
SQL
oshw
1 commit

OpenRecord

Build Status Coverage Status npm package version Package Quality Code Quality: Javascript Total Alerts

OPENRECORD is an ActiveRecord inspired ORM for nodejs.

Currently it supports the following databases/datastores: SQLite3, MySQL, Postgres, Oracle, REST and LDAP (+ ActiveDirectory)
If you want to build a GraphQL endpoint for any of these databases, OPENRECORD has some built in features to support you!

As the name imply, it's open and very easy to extend. The whole package was build that way.

It has a lot of features, just take a look at the docs!

Usage example

Here is an example how to get a single

post
from an existing sqlite3 file (by primary key). ```js const Store = require('openrecord/store/sqlite3')

const store = new Store({ file: './my-posts-db.sqlite3', autoLoad: true })

store.ready(async () => { const post = await store.Model('Post').find(1) console.log(post) }) ```

You don't have to define your model (optional) and you also don't have to define your model's attributes (optional).
Take a look at the docs to get started!

Contributing

If you've found a bug please report it via the issues page.
Before you submit a pull request, please make sure all tests still pass.


Sponsored by digitalbits.at

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.