Commit Graph

54 Commits

Author SHA1 Message Date
Nash Tsai f2b20d510c implemented composite key 2013-12-16 23:13:23 +08:00
Lunny Xiao 98d4c0e000 bug fixed 2013-12-12 14:33:26 +08:00
Lunny Xiao bb6a9c24fa multiple In() supports 2013-12-11 16:27:33 +08:00
Lunny Xiao c70b4ad8d3 replace tab to 4 spaces for all codes 2013-12-09 10:29:23 +08:00
Lunny Xiao 1d90c34f61 merge null field codes 2013-12-08 21:40:58 +08:00
Nash Tsai a74f8db232 update statement.buildConditions method to support pointer values update 2013-12-08 04:27:48 +08:00
Nash Tsai 772a2c7baa uncomment testProcessorsTx 2013-12-06 21:04:56 +08:00
Nash Tsai 95eccb04eb add null value update record testing 2013-12-06 20:13:10 +08:00
Nash Tsai aae8a6c90e create 3rd base test to void use of cache 2013-12-06 19:55:47 +08:00
Nash Tsai 667dcd039f completed db null value and pointer type testing 2013-12-06 15:17:50 +08:00
Nash Tsai e6a2c62ab1 committed partially done on null value support 2013-12-06 10:31:38 +08:00
Lunny Xiao 7f77be7d57 merge 2013-12-04 20:33:43 +08:00
Nash Tsai ec06be3197 implemented ddl import 2013-12-04 18:39:22 +08:00
Lunny Xiao 0d1efc74a6 bug fixed and more benchmark tests 2013-12-04 15:03:21 +08:00
Lunny Xiao 4c224deeba fixed query tx bug 2013-12-02 22:54:55 +08:00
Lunny Xiao 84145a374f merge 2013-12-02 22:34:17 +08:00
Nash Tsai 40dc45f8e4 add transactional tests for processors 2013-12-02 18:27:22 +08:00
Lunny Xiao 01e8ab4bcd add created & updated tests 2013-12-02 14:54:44 +08:00
Nash Tsai cc19af9498 code tidy up for processors tests 2013-12-02 14:53:23 +08:00
Nash Tsai fe91775981 add processors tests 2013-12-02 14:23:53 +08:00
Nash Tsai 69b0a9b713 implementation of before/after processors 2013-11-30 17:50:04 +08:00
Lunny Xiao cc0ce11294 Improved documents; Optimistic Locking support; Timestamp with time zone support; Mapper change to tableMapper and columnMapper & added PrefixMapper & SuffixMapper support custom table or column name's prefix and suffix;Insert now return affected, err instead of id, err; Added UseBool & Distinct; 2013-11-29 11:50:28 +08:00
Lunny Xiao 20bfc62f13 add new time type timestampz for datetime with time zone 2013-11-28 21:24:38 +08:00
Lunny Xiao ec2c685583 add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
Lunny Xiao 315bbec5e3 improved docs 2013-11-22 10:30:52 +08:00
Lunny Xiao c6a8fd2e76 Insert now return affected, err instead id, err, this update is broken. Please fix you code; Improved docs 2013-11-21 18:04:43 +08:00
Lunny Xiao a92a0b4c9d fixed test 2013-11-21 14:35:18 +08:00
Lunny Xiao e4f0c8a688 fixed time problem 2013-11-21 14:26:30 +08:00
Lunny Xiao e5c421d6ff fixed delete bug #12 2013-11-21 01:26:07 +08:00
Lunny Xiao d611b575ee fixed bool bug; added cache expired 2013-11-17 00:52:43 +08:00
Lunny Xiao 74ec8ba9d2 Add UseBool method for MUST use bool on a struct as condition or update column 2013-11-15 10:16:08 +08:00
Lunny Xiao 1a64d60e06 add Distinct method & fixed Find use with Table 2013-11-14 23:07:33 +08:00
Lunny Xiao 2a6991886c Add And and Or method for query condition 2013-11-09 21:13:16 +08:00
Lunny Xiao a1062be8d0 insert return bug fixed 2013-11-07 13:22:34 +08:00
Lunny Xiao 31de5d612e add lib/pq support; bool on struct will not be as condition; 2013-11-06 15:36:38 +08:00
Lunny Xiao bab16dc763 added type and sequence for xorm tool;added max connect for pool(go1.2+) 2013-10-27 09:10:20 +08:00
Lunny Xiao fc17734817 added Iterate method; added Omit method 2013-10-17 12:50:46 +08:00
Lunny Xiao 2caed88b82 added xorm reverse tool 2013-10-12 23:16:51 +08:00
Lunny Xiao c0d008e631 Added support for Find(*[]*Struct); added notnull; 2013-10-05 00:44:43 +08:00
Lunny Xiao 7ebd533407 add Sync() method for sync column, index to table 2013-09-28 23:14:42 +08:00
Lunny Xiao 7444be795b improved test 2013-09-26 15:33:15 +08:00
Lunny Xiao 48fa4c6fbc many bugs fixed 2013-09-26 15:19:39 +08:00
Lunny Xiao 365812143b method Update(...) 's first params now support map and map's ptr 2013-09-20 00:07:39 +08:00
Lunny Xiao 29fe0b6f80 added NoAutoTime method; added unfinished cache system, defaultly it's disabled. 2013-09-17 17:36:34 +08:00
Lunny Xiao c701db0913 little improved & QuickStart.md 2013-09-11 16:23:10 +08:00
Lunny Xiao 4691a4f3ba fixed bug #8 & #9 2013-09-06 14:32:20 +08:00
Lunny Xiao 3a868531e9 add support for slice, array, map, custom types fields of struct & fixed #4 2013-09-05 23:20:52 +08:00
Lunny Xiao 695b89c35f resolved #6: add created & updated 2013-09-02 22:50:40 +08:00
Lunny Xiao 5d523cc3b2 add Desc & Asc test 2013-09-02 10:20:29 +08:00
Lunny Xiao f817b30f28 Update() add map[string]interface{} as update columns 2013-08-29 13:18:02 +08:00