Commit graph

21 commits

Author SHA1 Message Date
Alex Grintsvayg
ed423a3606 detect autoincrement column, fix lastID in upsert when update doesnt change anything 2017-06-12 14:02:04 -04:00
Alex Grintsvayg
912a689701 added unique key detection (mysql only for now), improved merging 2017-05-12 06:56:48 -04:00
Sergey Kurt
cbdbe4891a MSSQL rows limit/offset via TOP or OFFSET ... FETCH NEXT ... ROWS 2017-03-14 11:13:56 +03:00
Aaron L
66dbe6a74c Fix erroneously flagged join tables 2016-09-22 00:21:12 -07:00
Aaron L
b918e9ef9e Isolate to_many from one_to_one in bdb 2016-09-17 23:11:50 -07:00
Aaron L
12967f7b66 Fix up the interface to raw queries. 2016-09-14 20:58:18 -07:00
Patrick O'brien
419f2760c7 Change quotes to bytes 2016-09-10 03:30:46 +10:00
Patrick O'brien
9e6a3d5ee3 Add quote dialects 2016-09-10 03:14:18 +10:00
Aaron L
16b6a2b176 Rename Exclude -> Blacklist 2016-09-08 22:41:57 -07:00
Patrick O'brien
1c8a9d2e39 Add schema feature to everything (except rels)
* Add strmangle SchemaTable helper
2016-09-09 07:23:10 +10:00
Patrick O'brien
7144d272bd Add whitelist feature 2016-09-06 00:41:12 +10:00
Patrick O'brien
1e67965482 Add exclude/blacklist tables flag 2016-08-16 20:38:31 +10:00
Patrick O'brien
a681624168 Remove tables flag from binary 2016-08-15 22:42:40 +10:00
Aaron L
944303f2f5 Properly abstract LastInsertID 2016-08-13 16:34:02 -07:00
Patrick O'brien
799c35125f Move DriverUsesLastInsertID to correct package 2016-08-14 00:07:22 +10:00
Patrick O'brien
b7a04e849c Added unique constraint to table state 2016-07-16 05:09:32 +10:00
Aaron L
7cdf44376b Add even more nullable things for FKeys. 2016-07-12 08:09:26 -07:00
Aaron L
fb802ad687 Add to_many relationships as a first class citizen
- to_many relationships are now cached on the table data structure
- to_many relationships now know if any columns involved are nullable
2016-07-11 23:49:42 -07:00
Aaron L
d7adb7006e Rename IsNullable -> Nullable
- Skip insert test
- Fix whitespacing issue
2016-07-09 10:13:35 -07:00
Aaron L
104d0e57cd Add nullability to foreign keys.
- Remove some debug output.
- Add some parallel
2016-07-09 09:59:37 -07:00
Aaron L
60f6080e73 Refactor dbdrivers into two packages
- Break dbdrivers into bdb and drivers
- Break each type in dbdrivers into it's own file set.
2016-06-22 23:11:32 -07:00
Renamed from dbdrivers/interface.go (Browse further)