Commit graph

666 commits

Author SHA1 Message Date
Aaron L
6c742e29e9 Fix more broken code 2016-08-27 17:04:51 -07:00
Aaron L
84e13cf0d4 Refactor function name calculations 2016-08-27 12:29:49 -07:00
Aaron L
f6206ea6b7 Use better errors in setops 2016-08-27 12:13:15 -07:00
Aaron L
ea22d3656c Add more text helpers for ToMany. 2016-08-27 12:00:42 -07:00
Aaron L
cc5ce81b8e Correct subtle issue with code that was never used 2016-08-27 09:51:06 -07:00
Aaron L
1887f23ca5 Finish ToOneSet
- Replace the custom update that actually set every model's relationship
  to the same thing with a real update method so we get logging & hooks
2016-08-26 23:36:57 -07:00
Aaron L
204ca1291d Fix randomization so it ignores pkeys 2016-08-26 22:53:36 -07:00
Aaron L
9db43ae3ad Finish ToOneSet 2016-08-26 22:43:50 -07:00
Aaron L
c1962eb7ac Get all the tests running properly 2016-08-26 22:04:49 -07:00
Aaron L
f489e22ab4 Rename Loaded -> R 2016-08-26 21:40:29 -07:00
Patrick O'brien
ed85ea5fec Fix readme, add feature to readme 2016-08-27 01:10:25 +10:00
Aaron L
dc49fa4d59 Align some stuff properly
- Begin tests
2016-08-26 07:59:28 -07:00
Patrick O'brien
26bb719563 Remove bad things (sum, min, max, avg, etc) 2016-08-26 22:08:27 +10:00
Aaron L
6ad467c259 Started relationship set operations 2016-08-25 23:50:45 -07:00
Patrick O'brien
2179570afd Speed up getBoilTag 2016-08-26 12:26:58 +10:00
Aaron L
113f8be521 Correct tests 2016-08-23 23:28:49 -07:00
Aaron L
28e485603a Add fast path for binding by caching TitleCase 2016-08-23 23:20:41 -07:00
Aaron L
d130354890 Fix eager loading, off-by-one pointer 2016-08-23 22:07:51 -07:00
Aaron L
63fae21c51 Add base_dir to make it less ornerous to use 2016-08-23 21:50:41 -07:00
Patrick O'brien
278d9ab80a Fixed some readme 2016-08-23 19:52:31 +10:00
Aaron L
3aa338b64f Update readme to almost have real docs. 2016-08-22 22:32:26 -07:00
Aaron L
509fe44f4e Rename Relationships struct to Loaded 2016-08-22 21:54:02 -07:00
Aaron L
48dc259841 Added proper pluralization for cookie 2016-08-22 21:54:02 -07:00
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