不要怂,就是干,撸起袖子干!

Commit 4a61a0d5 by Sascha Depold

some doc stuff

1 parent 253776f0
Showing with 11 additions and 2 deletions
...@@ -2,6 +2,14 @@ ...@@ -2,6 +2,14 @@
The Sequelize library provides easy access to a MySQL database by mapping database entries to objects and vice versa. To put it in a nutshell... it's an ORM (Object-Relational-Mapper). The library is written entirely in JavaScript and can be used in the Node.JS environment. The Sequelize library provides easy access to a MySQL database by mapping database entries to objects and vice versa. To put it in a nutshell... it's an ORM (Object-Relational-Mapper). The library is written entirely in JavaScript and can be used in the Node.JS environment.
## Installation ##
Sequelize will have a NPM and a Kiwi package in future. For now, you can just download the code from the git repository and require _sequelize.js_:
require(__dirname + "/path/to/sequelize/sequelize")
This will make the class Sequelize available.
## Basic Mapping ## ## Basic Mapping ##
To get the ball rollin' you first have to create an instance of _Sequelize_. Use it the following way: To get the ball rollin' you first have to create an instance of _Sequelize_. Use it the following way:
...@@ -185,4 +193,5 @@ OK... you can define classes and associations. You can save them. You would prob ...@@ -185,4 +193,5 @@ OK... you can define classes and associations. You can save them. You would prob
- restrictions - restrictions
- migrations (changing a tables structure without deleting information) - migrations (changing a tables structure without deleting information)
- make findAll with conditions easier to use - make findAll with conditions easier to use
- fix problems with datetime - fix problems with datetime
\ No newline at end of file - NPM/Kiwi package
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!