Anatoliy Chakkaev
56b7a3a3ea
Merge branch 'master' of github.com:1602/jugglingdb
2011-11-20 15:27:03 +07:00
Anatoliy Chakkaev
d7fbf1a575
Tune async validation hooks
2011-11-20 15:26:36 +07:00
1602
63192ff352
Describe object livecycle, update isValid usage
2011-11-20 14:55:23 +07:00
Anatoliy Chakkaev
c96cf9f248
Async flow for hooks
2011-11-20 12:36:15 +07:00
redvulps
f51990949f
updated mysql adapter to support boolean definition
...
updated mysql adapter to treat boolean type fields like in rails, it
means that boolean values will be converted to integer(1 for true and 0
for false) values
2011-11-19 15:16:37 -02:00
redvulps
abde0df35b
Updated mysql adapter to support fields that have internal names like "key" or "order"
...
Updated mysql adapter to support fields that have internal names like
"key" or "order"(they will be escaped to "`key`" and "`order`"), also
added support in case of query generates fields like "table.field" that
will be escaped to "`table`.`field`"
2011-11-19 14:40:25 -02:00
Anatoliy Chakkaev
3b2b57eb7b
Async validations hooks
2011-11-19 15:58:49 +07:00
Anatoliy Chakkaev
fbf118695e
Async validations
2011-11-19 12:43:02 +07:00
Anatoliy Chakkaev
9dcd976546
Rewrite custom validation
2011-11-19 01:59:46 +07:00
Anatoliy Chakkaev
e55b29e479
Pass instance as callback second arg when validation fails
2011-11-18 16:00:11 +07:00
Anatoliy Chakkaev
894a924488
Hookable validations without breaking functionality
2011-11-17 14:00:12 +07:00
Anatoliy Chakkaev
dd1e54ffec
Some coding style fixes
2011-11-17 13:18:39 +07:00
1602
9370a96a2b
Merge pull request #3 from juggy/master
...
Custom validations
2011-11-16 21:50:08 -08:00
1602
913c86470a
Merge pull request #4 from juggy/hookable
...
Active record style callbacks and hooks.
2011-11-16 21:48:25 -08:00
Julien Guimont
39bbece115
Added active record style callbacks and hooks. Before and after create, save, update, destroy and after initialization.
2011-11-16 23:28:13 -05:00
Julien Guimont
fa9676779b
Add the ability to create custom validation on fields
2011-11-16 22:37:43 -05:00
Anatoliy Chakkaev
13bfb1c972
Save where conds
2011-11-14 15:46:48 +07:00
Anatoliy Chakkaev
4e329639cd
Bump 0.0.6
2011-11-13 15:06:14 +07:00
Anatoliy Chakkaev
11171a7c7d
Run schema callback on nextTick
2011-11-13 15:05:50 +07:00
Anatoliy Chakkaev
2e1cb45f01
Fix NaN-NaN... in dates
2011-11-12 19:04:07 +07:00
Anatoliy Chakkaev
fc99247390
Logging in mysql and redis
2011-11-11 20:16:09 +07:00
1602
7a94f84420
Merge pull request #1 from silkuze/master
...
"class" is a reserved word in node 0.6
2011-11-09 04:04:55 -08:00
Justinas Stankevičius
9c0f069c27
bugfix: class is a reserved word in V8 / node 0.6
2011-11-08 20:00:44 +02:00
Anatoliy Chakkaev
faa1217b50
phony test
2011-11-05 18:04:53 +07:00
Anatoliy Chakkaev
1aa5251817
Added Makefile
2011-11-05 17:54:52 +07:00
Anatoliy Chakkaev
0da5e352b1
Version 0.0.4
2011-11-05 17:21:47 +07:00
Anatoliy Chakkaev
683833b220
Accept non-url format in mongoose adapter
2011-11-05 17:16:34 +07:00
Anatoliy Chakkaev
9f9aa7cd3f
Run callbacks on schema ready
2011-11-05 16:55:11 +07:00
Anatoliy Chakkaev
b5985e445d
Move conditions to `where` section, fix neo4j
2011-11-04 14:30:25 +07:00
Anatoliy Chakkaev
775b6b8b1c
Neo4j cypher query support
2011-10-23 23:45:44 +04:00
Anatoliy Chakkaev
f251ac9a5b
Mysql
2011-10-23 23:43:53 +04:00
Anatoliy Chakkaev
8b6c608c6c
Ability to transparently close connection with database
2011-10-21 16:46:09 +04:00
Anatoliy Chakkaev
182f3ff12e
Tune indexes in redis
2011-10-19 21:17:48 +04:00
Anatoliy Chakkaev
35dd198f70
Only save to database attributes that listed in schema
2011-10-19 00:36:03 +04:00
Anatoliy Chakkaev
6238b738e4
Update neo4j: safe callbacks, update indexes on save
2011-10-19 00:35:00 +04:00
Anatoliy Chakkaev
f19bacd681
Bump version
2011-10-16 21:25:35 +04:00
Anatoliy Chakkaev
f8b1b87a65
Patch neo4j lib
2011-10-16 21:24:54 +04:00
Anatoliy Chakkaev
f799e80fbb
Freeze neo4j lib
2011-10-16 21:21:46 +04:00
Anatoliy Chakkaev
ece00ceaaa
Neo4j features
2011-10-16 21:21:08 +04:00
Anatoliy Chakkaev
8e05e59933
Scopes
2011-10-15 19:57:35 +04:00
Anatoliy Chakkaev
14398c24d7
Merge branch 'master' of github.com:1602/jugglingdb
2011-10-11 23:52:16 +04:00
Anatoliy Chakkaev
8a05e1ffad
Conditional validations
2011-10-11 23:52:03 +04:00
Anatoliy Chakkaev
9de9e590d6
Apply defaults on create
2011-10-11 23:51:32 +04:00
1602
f4642ec398
Typo fix
2011-10-11 23:28:27 +04:00
Anatoliy Chakkaev
13df1ef4a1
Merge branch 'master' of github.com:1602/jugglingdb
2011-10-10 21:35:18 +04:00
Anatoliy Chakkaev
3eb3399855
Validate format, nullChecks everywhere
2011-10-10 21:34:50 +04:00
1602
8abce47c8e
Update validations stuff in README
2011-10-10 17:39:10 +04:00
Anatoliy Chakkaev
c282cc4a13
Merge branch 'master' of github.com:1602/jugglingdb
2011-10-10 17:27:22 +04:00
Anatoliy Chakkaev
63a554ee2d
Update package
2011-10-10 17:26:59 +04:00
Anatoliy Chakkaev
54ddb55c49
Validations
2011-10-10 17:22:51 +04:00