Skip to content

Commit f35160d

Browse files
committed
Upd readme and changelog
1 parent 567de88 commit f35160d

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## About [<img src="https://secure.travis-ci.org/1602/jugglingdb.png" />](http://travis-ci.org/#!/1602/jugglingdb)
22

3-
JugglingDB is cross-db ORM for nodejs, providing **common interface** to access
4-
most popular database formats. Currently supported are: mysql, sqlite3,
5-
postgres, couchdb, mongodb, redis, neo4j and js-memory-storage (yep,
6-
self-written engine for test-usage only). You can add your favorite database
7-
adapter, checkout one of the existing adapters to learn how, it's super-easy, I
8-
guarantee.
3+
[JugglingDB(3)](http://jugglingdb.co) is cross-db ORM for nodejs, providing
4+
**common interface** to access most popular database formats. Currently
5+
supported are: mysql, sqlite3, postgres, couchdb, mongodb, redis, neo4j and
6+
js-memory-storage (yep, self-written engine for test-usage only). You can add
7+
your favorite database adapter, checkout one of the existing adapters to learn
8+
how, it's super-easy, I guarantee.
99

1010
Jugglingdb also works on client-side (using WebService and Memory adapters),
1111
which allows to write rich client-side apps talking to server using JSON API.
@@ -257,9 +257,9 @@ user.save(callback);
257257
// afterSave
258258
// callback
259259
user.updateAttribute('email', '[email protected]', callback);
260+
// beforeUpdate
260261
// beforeValidation
261262
// afterValidation
262-
// beforeUpdate
263263
// afterUpdate
264264
// callback
265265
user.destroy(callback);
@@ -275,7 +275,7 @@ User.create(data, callback);
275275
```
276276

277277
Read the tests for usage examples: ./test/common_test.js
278-
Validations: ./test/validations_test.js
278+
Validations: ./test/validations.test.js
279279

280280
## Your own database adapter
281281

docs/changelog.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ jugglingdb-changelog(3) - The History of JugglingDB
33

44
## HISTORY
55

6-
### upcoming release
6+
### upcoming release 0.3.0
77

8-
* Documentation in [web][http://jugglingdb.co] and man
8+
* Documentation:
9+
Available in [web](http://jugglingdb.co) and man [jugglingdb(3)]
10+
11+
* **Hooks**:
12+
Changed format of update and save hooks. Hook accept data as second argument.
13+
This data could be modified and it will be saved to database after hook done.
14+
**NOTE**: this change could break some code.
915

1016
### 0.2.1
1117

@@ -70,3 +76,7 @@ jugglingdb-changelog(3) - The History of JugglingDB
7076
### 0.0.1
7177

7278
Package extracted from [RailwayJS MVC](http://railwayjs.com)
79+
80+
## SEE ALSO
81+
82+
jugglingdb-roadmap(3)

0 commit comments

Comments
 (0)