Commit Graph

1767 Commits

Author SHA1 Message Date
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
Jinzhu 421979cfc2 Order results when preload many2many relations 2016-02-14 17:21:40 +08:00
Jinzhu ea40d075fe Fix migration 2016-02-14 16:17:02 +08:00
Jinzhu 86b4b20278 Merge branch 'master' into v1.0_dev 2016-02-14 14:18:35 +08:00
Jinzhu 77928d8373 Check argument is string or not in HasTable 2016-02-14 14:17:25 +08:00
Jinzhu 3c9d2b1af6 Merge branch 'RichardKnop-bugfix/hastable-string' 2016-02-14 14:14:56 +08:00
Richard Knop d37d184401 Fixed a nested preload panic bug. 2016-02-14 14:14:32 +08:00
Jinzhu 090272bf25 Merge pull request #846 from RichardKnop/bugfix/preload-panic
Fixed a nested preload panic bug.
2016-02-14 14:05:25 +08:00
Jinzhu b4abd125c1 Refactor DataTypeOf for postgres, mssql 2016-02-14 13:51:34 +08:00
Jinzhu d7455fa5b1 Refactor DataTypeOf for mysql 2016-02-14 13:34:32 +08:00