Skip to content

Commit

Permalink
Merge pull request #2 from klokoy/patch-1
Browse files Browse the repository at this point in the history
Updated User example - missing database parameter
  • Loading branch information
notheotherben committed Jan 13, 2014
2 parents a3a7ece + a55d538 commit 53fbeff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -47,7 +47,7 @@ var database = new iridium({
database: 'demo'
});

database.register('User', new iridium.Model('user', {
database.register('User', new iridium.Model(database, 'user', {
firstname: String,
lastname: String,
since: Date,
Expand Down Expand Up @@ -376,4 +376,4 @@ module.exports = {
## Thanks To
Thanks to [Tadahiro Ishisaka](https://github.com/ishisaka) for his brilliant [nodeintellisense](https://github.com/ishisaka/nodeintellisense) library, it has been used as the basis for IntelliSense support within this module.

I'd also like to thank [dresende](https://github.com/dresende) and [dxg](https://github.com/dxg) from the [node-orm2](https://github.com/dresende/node-orm2) project for getting me introduced to Node and giving me many of the ideas for how a good ORM should be structured. If you're looking for an easy to use and more fully featured ORM with support for SQL and NoSQL databases, I'd seriously suggest giving [node-orm2](https://github.com/dresende/node-orm2) a try.
I'd also like to thank [dresende](https://github.com/dresende) and [dxg](https://github.com/dxg) from the [node-orm2](https://github.com/dresende/node-orm2) project for getting me introduced to Node and giving me many of the ideas for how a good ORM should be structured. If you're looking for an easy to use and more fully featured ORM with support for SQL and NoSQL databases, I'd seriously suggest giving [node-orm2](https://github.com/dresende/node-orm2) a try.

0 comments on commit 53fbeff

Please sign in to comment.