Commit graph

493 commits

Author SHA1 Message Date
Patrick O'brien
54c739ba97 Update mock and tests to use better tables 2016-08-23 13:39:10 +10:00
Aaron L
0975aca899 Fix some documentation. 2016-08-22 20:14:46 -07:00
Aaron L
1e66a194bd Fix one more problem. 2016-08-21 23:00:22 -07:00
Aaron L
248c45d1f6 Optimize TitleCase more.
- Remove support for insane cases of 9test as well as id9e9
- Code cleanup
2016-08-21 22:49:57 -07:00
Patrick O'brien
604fbea7de Slight adjustment to TitleCase 2016-08-22 15:10:15 +10:00
Patrick O'brien
c4526d4d2c Optimize TitleCase 2016-08-22 13:50:54 +10:00
Patrick O'brien
c61ff2aa46 Fix some formatting bugs of generated code 2016-08-21 16:28:47 +10:00
Patrick O'brien
0c44af51a8 Fix name conflict bug in find
* Add more tests to test schema
2016-08-21 16:03:51 +10:00
Patrick O'brien
cd7e45efaa Fix bugs for table only containing composite pkey
* Add more tables to test schema
* Add string slice match helper
2016-08-21 15:44:49 +10:00
Patrick O'brien
56faec6476 Change inflector to bitbucket inflect 2016-08-21 13:40:20 +10:00
Patrick O'brien
7f706531a7 Remove useless space 2016-08-21 12:34:18 +10:00
Patrick O'brien
d40058c3ce Fix output of randomizer 2016-08-19 19:56:27 +10:00
Patrick O'brien
d28b3f4b62 Finish WHERE IN feature
* Fix bug with appendOr/And ordering
2016-08-19 03:21:53 +10:00
Patrick O'brien
3cdfc6237a Added parallel to some missing tests 2016-08-18 22:29:14 +10:00
Patrick O'brien
22a904d025 Convert sqlboiler tests to MockDriver
* Improve impl of mock driver
2016-08-18 22:11:49 +10:00
Aaron L
c04e0d003a Make relationships only return query objects. 2016-08-18 00:19:15 -07:00
Aaron L
79520d27fb Use new randomize package 2016-08-18 00:06:28 -07:00
Aaron L
f86d8d7ee9 Refactor randomize 2016-08-18 00:03:14 -07:00
Aaron L
f23092d4a5 Move randomize things 2016-08-17 23:57:46 -07:00
Aaron L
e3e608d44a Fix imports broken from last test. 2016-08-17 23:51:32 -07:00
Aaron L
2567a60a25 Rename some files to keep sanity 2016-08-17 23:48:37 -07:00
Aaron L
453858d026 Put the templates in their proper place 2016-08-17 23:26:17 -07:00
Patrick O'brien
3d92184af1 Merge branch 'master' of github.com:vattle/sqlboiler 2016-08-18 16:18:29 +10:00
Patrick O'brien
34651b1942 Fix pointer to MockDriver 2016-08-18 16:18:10 +10:00
Aaron L
9c2a4d7852 Merge branch 'eager' 2016-08-17 23:17:13 -07:00
Aaron L
92c4e7f8f3 Support many_to_many eager loading properly
- Reorder the where statement in to_many to match eager loading.
2016-08-17 23:09:54 -07:00
Patrick O'brien
8d0cd2a53d Move fakeDB to MockDriver in drivers package 2016-08-18 15:26:24 +10:00
Patrick O'brien
3ae0b8a0d6 Fix randomize struct not ignoring boil - tag 2016-08-18 14:21:08 +10:00
Aaron L
e3ff48e647 Test the to_one eager loading. 2016-08-17 18:53:08 -07:00
Aaron L
3ecb8f96c0 Fix the loadRelationships code & test 2016-08-17 18:52:42 -07:00
Patrick O'brien
8806e76d9f Nearly finished relationship bind helper
* If only reflection would be nice
2016-08-18 03:56:00 +10:00
Patrick O'brien
94d36d7bf7 Begin IN implementation 2016-08-17 15:19:23 +10: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
Aaron L
fb198cc92c Looking like to_many eager load is done
- Fix to_many join table query
- Fix testing output
- Add debug logging
2016-08-16 22:14:07 -07:00
Aaron L
756281f9fb WIP Debugging eager loading 2016-08-16 22:14:07 -07:00
Aaron L
932f14d26c Fix up some bits in eager load to_many 2016-08-16 22:14:07 -07:00
Aaron L
7ce4146854 Add GetSliceValues to help clean up eager loads 2016-08-16 22:14:07 -07:00
Aaron L
eae23ae42b Add eager loading for to_many
- Needs tests
2016-08-16 22:14:07 -07:00
Aaron L
80c08ce20a Make Bind act on a sql.Rows
- This change was important to be able to call boil.Bind() from other
  contexts than a query. We don't use query mods everywhere, and we
  shouldn't. This allows us to use the bind independent of that.
2016-08-16 22:14:07 -07:00
Patrick O'brien
31bc69a7cc Add cobra help for command failures 2016-08-17 00:22:41 +10:00
Patrick O'brien
b8efd30e1b Add debug flag 2016-08-16 23:54:26 +10:00
Patrick O'brien
506de19d39 Fix exclude list, now a slice 2016-08-16 23:25:31 +10:00
Patrick O'brien
9d6de3ba68 Remove test file for query mods 2016-08-16 22:41:43 +10:00
Patrick O'brien
1e67965482 Add exclude/blacklist tables flag 2016-08-16 20:38:31 +10:00
Patrick O'brien
79dfcf3ebf Fix circle path yet again 2016-08-16 17:56:45 +10:00
Patrick O'brien
a9f0854dcf Fix circle golang path 2016-08-16 17:34:57 +10:00
Patrick O'brien
bc9ae18df0 Patch go-junit-report 2016-08-16 17:27:15 +10: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
b11132ea2d Fix circle to use go1.7 2016-08-16 13:22:50 +10:00
Patrick O'brien
9f63e653a6 Update readme, remove parallel from rel tests 2016-08-16 01:48:37 +10:00