Commit Graph

2076 Commits

Author SHA1 Message Date
Jinzhu 2c089573cd Add tests for override belogns to foreign keys with tag 2016-03-07 23:35:31 +08:00
Jinzhu 946909f1e8 Add DropTableIfExists back 2016-03-07 21:34:14 +08:00
Jinzhu d169ac55e2 Delete CHANGELOG.md 2016-03-07 21:24:42 +08:00
Jinzhu 89e8d4f5e1 Update README 2016-03-07 21:18:48 +08:00
Jinzhu 88184a989e Update godoc 2016-03-07 21:09:05 +08:00
Jinzhu 779c4d436e Refactor based on golint 2016-03-07 18:43:15 +08:00
Jinzhu ec110657da Refactor based on golint 2016-03-07 17:49:55 +08:00
Jinzhu 3055bad1e8 scope.Fields() return slice of *Field 2016-03-07 14:25:41 +08:00
Jinzhu 37210495bf Fix check HasColumn for sqlite, close #865 2016-03-06 09:39:38 +08:00
Jinzhu 60a859d966 Add check HasForeignKey method to dialect, also move mssql dialect to a separate repo as it is not well tested, close #832 2016-03-05 22:51:11 +08:00
Jinzhu b6a2710a15 Don't execute SET IDENTITY_INSERT if dialect is not mssql 2016-03-05 21:24:54 +08:00
Jinzhu 2522f03c1f Set identity insert on after create transaction, close #841 2016-03-05 19:22:33 +08:00
Jinzhu c811590d4e Add dialects for supported databases for easier to use 2016-03-05 18:54:59 +08:00
Jinzhu 41ab9f433f Merge branch 'master' into v1.0_dev 2016-03-04 22:01:23 +08:00
Jinzhu f8377d80bf Merge pull request #822 from jseriff/master
Remove regex guess on counting query
2016-03-04 21:58:27 +08:00
Jinzhu e0cca89ce3 Handle binary in log, close #733 2016-03-04 09:12:01 +08:00
Jinzhu 8b291cc32b Fix format log, close #752 2016-03-04 08:59:51 +08:00
Jinzhu e1df3994fb Merge pull request #861 from sunprophit/Issue-860
Issue-860. Preload performance
2016-03-01 07:51:58 +08:00
Jinzhu cd766809c6 Update README 2016-02-29 22:06:15 +08:00
Jinzhu 449ff0eca7 Update book.json 2016-02-28 00:01:08 +08:00
Jinzhu 547210665d Update Documents 2016-02-26 21:55:15 +08:00
Jinzhu 9d0203847c Update README 2016-02-25 22:58:56 +08:00
Jinzhu ba8b2857ea Update document 2016-02-24 23:30:44 +08:00
Jinzhu 15fd62a0d1 Update document 2016-02-22 09:17:05 +08:00
Pavel Hrechyshkin b520f4bd1c Issue-860. Preload performance 2016-02-22 01:09:56 +03:00
Jinzhu 9a79822ff2 Update Document 2016-02-21 23:43:34 +08:00
Jinzhu 118c8b836f Update README 2016-02-21 22:40:01 +08:00
Jinzhu 2a9c03002c Update gitbook 2016-02-21 21:42:26 +08:00
Jinzhu f57198fe97 Test multiple Joins 2016-02-21 10:55:36 +08:00
Jinzhu 29f3e6a927 Update ChangeLog 2016-02-20 23:43:51 +08:00
Jinzhu 899996fec9 Add CHANGELOG 2016-02-20 23:34:33 +08:00
Jinzhu c89b896778 Update README for Creating 2016-02-19 12:04:15 +08:00
Jinzhu e7c4e7de4e Update README for Updating 2016-02-19 11:39:26 +08:00
Jinzhu 2786ab34b4 Support decode to virtual attributes, close #798 2016-02-18 23:29:45 +08:00
Jinzhu 6bd0862811 Only update non blank fields that has been changed 2016-02-18 23:17:35 +08:00
Jinzhu 52ae6df6fd Test Updates with blank values 2016-02-18 20:51:49 +08:00
Jinzhu 115789960a Joins support parameters, close #673 2016-02-16 22:48:26 +08:00
Jinzhu 5883c70478 Support custom preloading SQL, close #598, #793, #824 2016-02-15 21:29:47 +08:00
Jinzhu b054f235b9 Fix query with extra option 2016-02-15 19:42:49 +08:00
Jinzhu c9dfd80959 Support extra options for inserting, querying, deleting, updating SQL, close #721, #769 2016-02-15 19:36:48 +08:00
Jinzhu f9c6d17b2a Reorder callbacks after append it 2016-02-15 17:22:29 +08:00
Jinzhu 226c00b4a8 Fix LimitAndOffset for Update 2016-02-15 17:00:28 +08:00
Jinzhu 9caf48035d Refactor callback 2016-02-15 16:55:47 +08:00
Jinzhu 5d4aae2d11 Don't sort processors that without name 2016-02-15 16:23:26 +08:00
Jinzhu 4e8370e18b Refactor dialect 2016-02-15 14:59:15 +08:00
Jinzhu 6546ec3b5e Scan Rows into struct, fix #59 2016-02-14 23:29:06 +08:00
Jinzhu a7097106b1 Fix #784 set mysql datetime's type to NOT NULL 2016-02-14 22:42:17 +08:00
Jinzhu 94fb0dd1d4 Merge branch 'master' into v1.0_dev 2016-02-14 21:49:14 +08:00
Jinzhu aa45da1542 Preload first before run after find 2016-02-14 21:47:13 +08:00
Jinzhu f4456e139e Register dialects 2016-02-14 18:06:42 +08:00