Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ return qOrm.qConnect('mysql://username:password@host/database')
});
```

##Supported methods
## Supported methods

- `qOrm.qConnect, qOrm.qExpress`
- `db.qDefine, db.qExecQuery, db.qSync, db.qDrop`
- `Model.qCreate, Model.qGet, Model.qOne, Model.qAll, Model.qCount, Model.qHasOne, Model.qHasMany, Model.qFind`
- `instance.qSave, instance.qRemove, instance.qValidate`
- `instance.qGetAssociatedModel`, etc.

##Notes
## Notes

- All methods inherit their habitual parameters from their callback-based counterparts. (Behind the scenes, we use `Q.nbind`.)
- This is very beta! Works on my application (it's been tested extensively in there), but does not have its own unit tests yet.
- Features such as `orm.enforce`, `orm.eq`, etc. are not wrapped. If you need them (such as in the example), you have to `require('orm')` as well.

##TODO
## TODO

- Tests
- More examples
Expand Down