Commit graph

43 commits

Author SHA1 Message Date
Sergey Kurt
dbf897977a Newline at end of file 2017-03-31 11:07:30 +03:00
Sergey Kurt
9bafa2f158 MSSQL Upsert statement 2017-03-21 13:04:07 +03:00
Sergey Kurt
ad15668462 Fixed code generation 2017-03-15 19:04:13 +03:00
Sergey Kurt
132339026a Regular expression for FK destroyer 2017-03-13 16:24:08 +03:00
Sergey Kurt
e00ea60679 Initial MSSQL support 2017-03-13 12:55:26 +03:00
Aaron L
bdb0ef1b7c Fix missing tests
- ToMany(Set|Remove)Op tests were not being generated for join tables.
2017-01-24 22:44:11 -08:00
Aaron L
b1344befe2 Change 'if eq .NoHooks false' -> 'if not .NoHooks' 2016-09-20 21:08:19 -07:00
Aaron L
04031a5c6f Change template naming to avoid lint errs 2016-09-20 21:08:19 -07:00
Patrick O'brien
0a1a12cd0a Primary key only tables are now handled adequately 2016-09-20 18:05:33 +10:00
Aaron L
8cdb026200 Fix one-to-one setop generation
- Remove a bunch of useless stuff from the templating
2016-09-18 17:07:15 -07:00
Aaron L
eaa9a92d52 Make postgres pass again 2016-09-18 16:40:33 -07:00
Aaron L
2299bcecb1 Correct test naming 2016-09-18 16:11:19 -07:00
Aaron L
34b30ce6c3 Make templates generate again 2016-09-18 16:02:08 -07:00
Aaron L
1eb1ed10cf Fix last few bugs with find replacing 2016-09-18 11:21:26 -07:00
Aaron L
dcbc640303 Fix test suites to include one-to-one 2016-09-18 10:34:07 -07:00
Aaron L
81494a91d0 Remove one-to-one 2016-09-17 23:50:31 -07:00
Aaron L
9bc5b3fa40 Fix one-to-one in many areas 2016-09-17 22:10:19 -07:00
Aaron L
5b97a17235 Fix erroneous generation of 1-to-1 setop remove 2016-09-17 00:09:56 -07:00
Aaron L
a426f09a75 Remove helpers in favor of more optimized paths 2016-09-15 23:44:44 -07:00
Aaron L
e5edef144b Fix up postgres main just like mysql 2016-09-13 21:46:58 -07:00
Aaron L
76b75dfaaa Remove foreign keys from mysql dump 2016-09-12 22:43:29 -07:00
Aaron L
1b5cea823f Get mysql tests running.
- Needs disabling of Foreign Key constraints + upsert deletion to have a
  chance of working.
2016-09-11 23:50:11 -07:00
Aaron L
d183ec4bb5 Postgres works again after refactor 2016-09-11 23:50:11 -07:00
Aaron L
9d29d2b946 Refactor all the bits.
- Make TestMain be driver-based
- Move config to TestMain file
- Make config a little more sane in pgmain
2016-09-11 23:50:11 -07:00
Aaron L
9553f462c7 Merge branch 'sets' 2016-08-28 23:29:47 -07:00
Patrick O'brien
95ff24b918 Add --no-hooks feature 2016-08-28 20:48:50 +10:00
Aaron L
c1962eb7ac Get all the tests running properly 2016-08-26 22:04:49 -07:00
Aaron L
2567a60a25 Rename some files to keep sanity 2016-08-17 23:48:37 -07:00
Aaron L
22cf8091a9 Add the running of to_one tests.
- Fix the running of one_to_one tests.
2016-08-16 22:14:07 -07:00
Patrick O'brien
8b6a2f7852 Break up test suite further to avoid dead locks 2016-08-16 14:07:15 +10:00
Patrick O'brien
76d4b84019 Convert all tests to go 1.7 Run format
* This fixes postgres deadlocks
2016-08-15 19:36:38 +10:00
Aaron L
f40688cfe3 Refactor Update & Insert tests.
- Added additional checking to statements for drivers that support a
  number of results affected.
- Changed the way we keep imports around for compare values
2016-08-13 23:38:41 -07:00
Aaron L
ac549c9207 Make sqlboiler respect environment
- Stop failing on config file load, use the validation in the test
  config stuff.
2016-08-05 22:15:18 -07:00
Patrick O'brien
8a3a08baa0 Finish upsert, most of upsert tests
* Fix Upsert hooks
* Rename singleton template files
2016-08-05 00:26:39 +10:00
Patrick O'brien
726fae9af1 Add MustTx helper, move deletes to bottom of tests 2016-07-15 15:32:36 +10:00
Patrick O'brien
013b3ae0f8 Added more reflect helpers 2016-07-09 02:39:36 +10:00
Patrick O'brien
7a0b84848f Add more tests to insert template tests
* Add helpers to assist with template tests
* Change null []byte from string to []byte
2016-07-06 16:02:35 +10:00
Patrick O'brien
fc1eff4d83 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-06-27 18:34:55 +10:00
Patrick O'brien
b0e0369b26 Removed unecessary print 2016-06-27 18:34:03 +10:00
Aaron L
85ff9a797a Merge conflict resolution (late) 2016-06-27 00:02:10 -07:00
Patrick O'brien
4412026e63 Change testmain config load to viper & vala 2016-06-27 14:53:23 +10:00
Patrick O'brien
3352220c53 Merge branch 'master' of github.com:nullbio/sqlboiler 2016-06-12 16:50:38 +10:00
Aaron L
8757c8a184 Refactor entire project :D
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00