Commit graph

27 commits

Author SHA1 Message Date
Aaron L 34b30ce6c3 Make templates generate again 2016-09-18 16:02:08 -07:00
Aaron L f00230c414 Fix names of txt helper functions in templates 2016-09-18 11:18:43 -07:00
Aaron L 11098a95c3 Remove hacks from to_one 2016-09-18 11:13:22 -07:00
Aaron L 81494a91d0 Remove one-to-one 2016-09-17 23:50:31 -07:00
Aaron L f803cdd6bd Fix all references to moved elements. 2016-09-14 21:02:24 -07:00
Patrick O'brien 83f7092dc6 Add MySQL Upsert, fix identation in all tpls 2016-09-14 18:14:07 +10:00
Aaron L 912693a124 Update parameter generation for mysql 2016-09-12 23:28:23 -07:00
Aaron L 8392a4ba2a Fix quoting throughout templates
- Use "" style strings for all templates
- Attach a Quote and SchemaTable that understand escaped quotes so we
  can use "" style strings without repercussion.
- Make SchemaTable use escaped quotes
- Remove schemaTable from the templates in favor of .SchemaTable
2016-09-11 23:50:11 -07:00
Patrick O'brien 793522650c Add lq, rq, and indexplaceholders args everywhere 2016-09-10 05:15:50 +10:00
Patrick O'brien ac02f7d2e0 Fix broken relationship templates by adding schema 2016-09-09 22:31:51 +10:00
Patrick O'brien 1c8a9d2e39 Add schema feature to everything (except rels)
* Add strmangle SchemaTable helper
2016-09-09 07:23:10 +10:00
Patrick O'brien c61ff2aa46 Fix some formatting bugs of generated code 2016-08-21 16:28:47 +10:00
Aaron L c04e0d003a Make relationships only return query objects. 2016-08-18 00:19:15 -07:00
Aaron L 2d608c4e17 Correct the problems with to_one 2016-08-05 22:19:49 -07:00
Patrick O'brien b1b0607123 Fix template errors 2016-08-05 15:04:00 +10:00
Aaron L 9a5742eeea Use query generation for relationship_to_one
- This allows the use of query mods
2016-08-01 20:38:32 -07: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
Patrick O'brien 916b7026dc Fix relationship to one bug 2016-07-16 21:40:50 +10:00
Patrick O'brien f45d137f5f Added panic functions
* Fixed linter errors
* Added lots of missing comments
* Fixed broken boil tests
* Skipped unfinished functions instead of error
2016-07-16 21:22:57 +10:00
Aaron L 6ddef6095e Rewrite to_one relationships with text helpers.
- Fix a gross if statement.
2016-07-14 21:48:59 -07:00
Aaron L 2e3830053d Make to_one relationships use the X paradigm. 2016-07-09 10:14:07 -07:00
Aaron L c6740529df Add more template functions.
- Fix some quoting nonsense in another template.
2016-06-26 23:56:45 -07:00
Aaron L 119e683952 Use extensive piping throughout the templates
- Haskell ftw
2016-06-19 22:22:50 -07:00
Aaron L 82115b24e0 Rename templates to enforce sane ordering. 2016-06-19 16:29:59 -07:00
Renamed from templates/relationship_to_one.tpl (Browse further)