leeight
|
e4339228dc
|
Quick fix #417
|
2016-08-05 23:06:32 +08:00 |
|
welefen
|
8d7e89de11
|
Fix error on transaction
|
2016-08-03 09:28:06 +08:00 |
|
lichengyin
|
2d1d122dec
|
Fix parse sql error when field has _, such as: _id
|
2016-06-03 18:55:29 +08:00 |
|
lichengyin
|
9964f6d3f0
|
Fix error when table field is keyword in increment & decrement method, fix #351
|
2016-05-11 08:23:57 +08:00 |
|
lichengyin
|
c29a049667
|
Add beforeDelete(),beforeSelect(),beforeFind() for model, fix #327
|
2016-04-26 10:58:01 +08:00 |
|
lichengyin
|
da2f3b0ec0
|
Add test case
|
2016-03-29 16:24:35 +08:00 |
|
lichengyin
|
17d8562a12
|
Fix test case error
|
2016-03-23 17:46:08 +08:00 |
|
lichengyin
|
6db6d4ebfb
|
Fix get error insertIds in addMany method, fix #298
|
2016-03-21 16:57:32 +08:00 |
|
lichengyin
|
8f447d493a
|
remove default value when get table schema
|
2016-03-17 18:36:04 +08:00 |
|
lichengyin
|
0085f450b6
|
Fix: support field schema with sub schema, fix #276
|
2016-02-29 17:13:36 +08:00 |
|
lichengyin
|
48b885a594
|
Fix: fix parse join when table name has keyword
|
2016-02-24 16:14:10 +08:00 |
|
lichengyin
|
33918c4016
|
Fix: fix limit 1 for find method
|
2016-02-23 10:10:41 +08:00 |
|
lichengyin
|
6f3bc9f270
|
test: add model default value test case
|
2016-01-27 18:19:01 +08:00 |
|
lichengyin
|
735f6a7524
|
feature: support default value for model when update
|
2016-01-21 19:28:34 +08:00 |
|
lichengyin
|
2e8bb7be8b
|
Fix: fix extend options.where error when options.where is string
|
2016-01-18 17:09:24 +08:00 |
|
lichengyin
|
775c2a81b7
|
use parseModuleFromPath method to get module
|
2016-01-18 11:43:38 +08:00 |
|
lichengyin
|
36dc8be0b8
|
Fix: fix get model default value when default is null, fix #246
|
2016-01-18 09:54:52 +08:00 |
|
lichengyin
|
9dfe473f5b
|
support default & readonly for model
|
2016-01-09 14:24:51 +08:00 |
|
lichengyin
|
cf83cf79e0
|
fix error when field is keyword in count, sum, min methods. fix #236
|
2016-01-08 14:19:04 +08:00 |
|
lichengyin
|
100a4dfc85
|
upgrade Babel to 6
|
2016-01-02 15:11:43 +08:00 |
|
lichengyin
|
1b435f1526
|
change fields property to schema
|
2015-12-30 19:00:38 +08:00 |
|
lichengyin
|
436400c665
|
fix parse module in model.model method
|
2015-12-29 15:14:46 +08:00 |
|
lichengyin
|
9a2ec96ec8
|
fix windows test error
|
2015-12-17 20:28:57 +08:00 |
|
lichengyin
|
dfb5f3f337
|
fix windows test error
|
2015-12-17 20:28:01 +08:00 |
|
lichengyin
|
1a4295ef5d
|
fix windows test error
|
2015-12-17 20:11:28 +08:00 |
|
lichengyin
|
c8a1537ed9
|
fix windows test error
|
2015-12-17 20:05:38 +08:00 |
|
lichengyin
|
09292c600d
|
add countSelect test case
|
2015-12-09 18:13:55 +08:00 |
|
lichengyin
|
39bfa0352c
|
fix test error
|
2015-12-07 10:34:32 +08:00 |
|
lichengyin
|
df0a5d4daf
|
fix appveyor build error
|
2015-11-27 09:28:11 +08:00 |
|
lichengyin
|
1073b9d93c
|
fix countSelect error when count is zero
|
2015-11-14 22:24:57 +08:00 |
|
lichengyin
|
48bf873e2d
|
optimize model, support read & write separate config
|
2015-11-12 10:56:20 +08:00 |
|
lichengyin
|
590c2a84fe
|
check where condition when update db data
|
2015-11-01 09:31:45 +08:00 |
|
lichengyin
|
b49efc9299
|
fix parse field has SQL functions
|
2015-10-29 11:47:42 +08:00 |
|
lichengyin
|
22bf598b33
|
change some methods name, etc: _afterSelect to afterSelect
|
2015-10-29 11:24:04 +08:00 |
|
lichengyin
|
80f8652cdf
|
support where({title: null})
|
2015-10-29 08:59:28 +08:00 |
|
lichengyin
|
cabe9bb560
|
add relation model test case
|
2015-10-26 18:21:18 +08:00 |
|
lichengyin
|
b630e640fe
|
add mongo model test case
|
2015-10-26 16:14:32 +08:00 |
|
welefen
|
2df9f782ba
|
fix error when show columns sql has AS
|
2015-08-18 17:04:02 +08:00 |
|
welefen
|
6bd939f343
|
add some test case files
|
2015-08-13 15:23:47 +08:00 |
|
welefen
|
7c4736ec16
|
support explain for model
|
2015-08-11 16:36:04 +08:00 |
|
welefen
|
bee024c675
|
support explain for model
|
2015-08-11 16:31:10 +08:00 |
|
welefen
|
88f0c9007f
|
add log_connect key in db config
|
2015-08-11 14:03:43 +08:00 |
|
welefen
|
1d687626f4
|
remove limit length default value
|
2015-08-05 16:20:59 +08:00 |
|
welefen
|
62c6ad36e8
|
add model/base.js test case
|
2015-08-04 16:10:21 +08:00 |
|
welefen
|
9600bfaacc
|
rename property configKey to _configKey in model/_base.js
|
2015-08-04 11:07:04 +08:00 |
|
welefen
|
2bfcc84202
|
add model/_base.js test case
|
2015-08-04 11:03:27 +08:00 |
|
welefen
|
f703cbdb66
|
optimize some code
|
2015-08-04 09:50:44 +08:00 |
|