Commit Graph

190 Commits

Author SHA1 Message Date
Lunny Xiao d67b6e7f80 merge 2014-01-21 22:27:28 +08:00
Lunny Xiao 19b0a57dcd add lowertest 2014-01-21 22:22:06 +08:00
Nash Tsai 60db598114 caching session bounded sql.Stmt to increase performance 2014-01-14 18:53:00 +08:00
Lunny Xiao 65edc742b4 merge dialect 2014-01-09 14:44:41 +08:00
Lunny Xiao b7c8a79a1a merge master 2014-01-09 13:24:51 +08:00
Nash Tsai 9771433266 remove commented codes 2014-01-08 18:42:47 +08:00
Nash Tsai 07b2d15a26 code tidy up, minor performance improvement 2014-01-08 18:37:22 +08:00
Lunny Xiao dd9c707f50 bug fixed #46 2014-01-08 18:18:42 +08:00
Lunny Xiao 4df43ffa0f new architecture 2014-01-07 17:33:27 +08:00
Nash Tsai 4a507f758c removed debuglog 2014-01-02 12:53:16 +08:00
Nash Tsai e95b3bc807 fixed time struct conversion error 2014-01-02 12:49:02 +08:00
Nash Tsai 2498a032f0 uncomment row2bean cascade handling 2014-01-02 12:19:30 +08:00
Lunny Xiao 9f796328b3 merge 2013-12-31 11:44:11 +08:00
Nash Tsai e7379dc7d9 fixed cache usage error when using session.Find() 2013-12-30 17:40:59 +08:00
Nash Tsai 5fa8a7271d fixed session.queryPreprocess usage 2013-12-30 02:32:26 +08:00
Nash Tsai 8f0aba838f use session.queryPreprocess implementations instead of calling session.queryPreprocess to void sql error 2013-12-29 17:37:43 +08:00
Nash Tsai 814036e258 1. correct use of 'sql' string clash with sql pacakage. 2. checked type conversion. 2013-12-28 02:42:50 +08:00
Nash Tsai 7bbabe72f0 add Session.row2Bean 2013-12-27 02:14:30 +08:00
lunny 17d74617ea Merge pull request #37 from nashtsai/scrolling-rs
Scrolling rs
2013-12-25 23:12:08 -08:00
Nash Tsai a3f1d98775 code tidy up 2013-12-26 15:11:15 +08:00
Nash Tsai 6269596915 update API comments 2013-12-26 14:53:20 +08:00
Nash Tsai 6bc64c8fe6 change Iterator struct naming to 'Rows' and making compatible interface to sql.Rows 2013-12-26 14:50:44 +08:00
Nash Tsai e59b76cb6c add TODO comments 2013-12-25 23:50:37 +08:00
Nash Tsai 99ebe8f165 add testScroll test 2013-12-25 23:27:54 +08:00
Lunny Xiao 901d7b6670 bug fixed 2013-12-25 17:41:01 +08:00
Nash Tsai 275205e6f1 implemented forward scrolling resultset and updated Session.Iterator() implementation 2013-12-25 15:39:56 +08:00
Lunny Xiao d5a4324585 add support to int32, int, uint, uint32, uint64 for pk 2013-12-24 18:18:48 +08:00
Nash Tsai 6b4eca8204 Merge remote-tracking branch 'upstream/master' 2013-12-24 11:52:22 +08:00
Nash Tsai d6de8fbb8b code tidy up 2013-12-24 11:52:20 +08:00
lunny 90a9a30143 bug fixed 2013-12-23 16:03:02 +08:00
Lunny Xiao 9ee32711ba bug fix 2013-12-20 15:55:34 +08:00
lunny b778bfce82 merge mssql support 2013-12-20 15:11:56 +08:00
lunny 4459c88a28 add mssql support 2013-12-20 14:53:40 +08:00
Nash Tsai 40bea73d0b code tidy up 2013-12-20 02:32:11 +08:00
Nash Tsai 322bfa2d98 Merge remote-tracking branch 'upstream/master' 2013-12-20 02:26:47 +08:00
Nash Tsai 7ebbe91892 code tidy up 2013-12-20 02:25:46 +08:00
Lunny Xiao 81af494cab bug fixed 2013-12-19 23:28:38 +08:00
Lunny Xiao 31dbc146ee add nocascade method 2013-12-19 22:32:00 +08:00
Lunny Xiao 59412a951c use tabs 2013-12-18 11:31:32 +08:00
Lunny Xiao 99c7031b50 merge composite key 2013-12-17 09:38:20 +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 82bdc0ec5a bug fixed for Sql().Find() 2013-12-10 15:12:43 +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 1f54b91076 code tidy up 2013-12-08 12:56:10 +08:00
Nash Tsai a74f8db232 update statement.buildConditions method to support pointer values update 2013-12-08 04:27:48 +08:00
Nash Tsai dfcf1d7498 completed value2Interface implementation for Ptr type 2013-12-06 15:20:25 +08:00
Nash Tsai e6a2c62ab1 committed partially done on null value support 2013-12-06 10:31:38 +08:00
Lunny Xiao f3b7c3c7dc merge 2013-12-04 20:25:47 +08:00
Lunny Xiao 0d1efc74a6 bug fixed and more benchmark tests 2013-12-04 15:03:21 +08:00
Nash Tsai 0182e87906 fixed transactional after processors handling if same bean has been operated more than once 2013-12-03 11:49:30 +08:00
Nash Tsai 46b46db6d0 resolved merge from upstream/master 2013-12-03 09:22:19 +08:00
Nash Tsai b107101bd5 fixed transactional based after processors handling bug 2013-12-03 09:09:21 +08:00
Lunny Xiao 4c224deeba fixed query tx bug 2013-12-02 22:54:55 +08:00
Nash Tsai e9a5dddbef elimited BeforeXXX and AfterXXX operations with After() and Before() 2013-12-02 14:23:04 +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 afedb683c6 time parse improved 2013-11-27 21:58:44 +08:00
Lunny Xiao 2381103468 fixed sqlite3 bug 2013-11-27 17:14:57 +08:00
Lunny Xiao ec2c685583 add PrefixMapper & SuffixMapper 2013-11-27 15:53:05 +08:00
Lunny Xiao 200f10d11e add blank time support; docs improved 2013-11-23 10:53:45 +08:00
Lunny Xiao 605ec87f65 improved docs & resolved #
14
2013-11-22 14:11:07 +08:00
Lunny Xiao e1644f7c98 improved docs & delete or private codes 2013-11-22 10:26:01 +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 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 be22a978d8 improved sync indexes, now check columns;xorm tool bug fiexed 2013-10-28 11:16:22 +08:00
Lunny Xiao fc17734817 added Iterate method; added Omit method 2013-10-17 12:50:46 +08:00
Lunny Xiao 78cdb912e0 Added database reverse tool, now support generate go & c++ codes, some bug fixed. 2013-10-15 10:40:21 +08:00
Lunny Xiao b6c2451bfa bug fixed for cacheFind 2013-10-14 21:39:36 +08:00
Lunny Xiao 3604f1a593 reverse tool improved 2013-10-14 15:40:24 +08:00
Lunny Xiao e8ed91be2b merge from develop; added reverse tool 2013-10-14 00:38:45 +08:00
Lunny Xiao 78c420c381 bug fixed 2013-10-13 00:19:05 +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 4b2425d3d3 cache bug fixed 2013-10-02 11:07:38 +08:00
Lunny Xiao f1502178c2 cache bug fixed 2013-10-02 11:04:20 +08:00
Lunny Xiao 8294b99ea6 Return error if Delete has no any condition 2013-09-30 22:22:54 +08:00
Lunny Xiao 564f3b71fa improved docs 2013-09-30 14:45:34 +08:00
Lunny Xiao 1b47321704 improved docs 2013-09-30 09:17:35 +08:00
Lunny Xiao 7ebd533407 add Sync() method for sync column, index to table 2013-09-28 23:14:42 +08:00
Lunny Xiao 48fa4c6fbc many bugs fixed 2013-09-26 15:19:39 +08:00
Lunny Xiao 9d676ebddd cache bug fixed 2013-09-25 01:31:25 +08:00
Lunny Xiao 22ddfa9f77 bug fixed 2013-09-24 10:07:47 +08:00
Lunny Xiao daaa90e14e bug fixed 2013-09-23 23:59:42 +08:00
Lunny Xiao d7a8b90d0c bug fixed 2013-09-23 22:39:08 +08:00
Lunny Xiao 1ce77128c1 bug fixed 2013-09-23 22:31:51 +08:00
Lunny Xiao aa6feeb328 bug fixed 2013-09-23 10:20:45 +08:00
Lunny Xiao 29a72f9adb bug fixed 2013-09-23 09:22:30 +08:00
Lunny Xiao affc64cde3 remove debug info 2013-09-22 17:53:12 +08:00
Lunny Xiao 768b5bacdb cache system improved 2013-09-21 00:06:41 +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