Patrick O'brien
fd07a1a6a7
Move loaders off R to a new struct L
2016-09-02 11:03:59 +10:00
Aaron L
947081c579
Rename ReverseInserts -> OneToOne
...
- Fix bug & failing test
- Skip WIP test
2016-08-28 00:27:50 -07:00
Aaron L
f489e22ab4
Rename Loaded -> R
2016-08-26 21:40:29 -07:00
Aaron L
d130354890
Fix eager loading, off-by-one pointer
2016-08-23 22:07:51 -07:00
Aaron L
509fe44f4e
Rename Relationships struct to Loaded
2016-08-22 21:54:02 -07:00
Aaron L
c04e0d003a
Make relationships only return query objects.
2016-08-18 00:19:15 -07:00
Aaron L
e3ff48e647
Test the to_one eager loading.
2016-08-17 18:53:08 -07:00
Patrick O'brien
9f63e653a6
Update readme, remove parallel from rel tests
2016-08-16 01:48:37 +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
d25712f929
Change entire project tests.
2016-08-14 01:58:36 -07:00
Aaron L
2d608c4e17
Correct the problems with to_one
2016-08-05 22:19:49 -07:00
Patrick O'brien
feb85a2a44
Finish upsert and upsert tests
...
* Fix find bug in query generator
2016-08-05 12:59:40 +10:00
Patrick O'brien
2d732c727a
Remove X funcs and add G funcs
2016-08-01 15:10:10 +10:00
Aaron L
b447018220
Rename ReverseArgs -> ReverseInserts
...
- Remove debug comment
2016-07-17 17:52:55 -07:00
Aaron L
d4170806f5
Produce true one_to_one relationships.
...
- Generating code & test for one_to_one by calling existing to_one
templates with the reversed texts function output as input.
- Add a section to reverse the order of the function inserts.
2016-07-17 17:50:01 -07:00
Aaron L
1a53eab27f
Rewrite to_one template as a sub-template
...
- This allows us to use the sub-template in other templates.
2016-07-16 23:57:08 -07:00
Aaron L
e6b8cfff93
Use MustTx
2016-07-14 23:15:35 -07:00
Aaron L
08feff45d7
Deal with null values.
2016-07-14 22:45:43 -07:00
Aaron L
e78f19f3e9
Add test for relationship to_one
2016-07-14 21:49:22 -07:00