Commit graph

10 commits

Author SHA1 Message Date
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
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
fc5bbc3e2e Use the cached relationship information 2016-07-16 13:02:35 -07:00
Aaron L
929db1de2a Fix error with to_many null foreign keys. 2016-07-14 23:37:39 -07:00
Aaron L
bbf40bea53 Fix to_many relationship bug.
- IDs were being inserted incorrectly causing an sql key duplicate error
  instead of being inserted into the join table.
2016-07-14 23:28:33 -07:00
Aaron L
e6b8cfff93 Use MustTx 2016-07-14 23:15:35 -07:00
Aaron L
afb006b563 Fix to_many relationship tests. 2016-07-13 23:09:05 -07:00
Aaron L
f1df86ab9e Finish to_many base test case (no join table) 2016-07-13 22:34:18 -07:00
Aaron L
272660ca75 Relationship to many test work. 2016-07-13 22:34:18 -07:00