29 Commits

Author SHA1 Message Date
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
da2f3b0ec0 Add test case 2016-03-29 16:24:35 +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
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
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
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
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
80f8652cdf support where({title: null}) 2015-10-29 08:59:28 +08:00
welefen
2df9f782ba fix error when show columns sql has AS 2015-08-18 17:04:02 +08:00
welefen
7c4736ec16 support explain for model 2015-08-11 16:36:04 +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