Commit graph

11 commits

Author SHA1 Message Date
Aaron L 509fe44f4e Rename Relationships struct to Loaded 2016-08-22 21:54:02 -07:00
Patrick O'brien c61ff2aa46 Fix some formatting bugs of generated code 2016-08-21 16:28:47 +10:00
Aaron L eae23ae42b Add eager loading for to_many
- Needs tests
2016-08-16 22:14:07 -07:00
Aaron L 1875bac7cf Correct improper detection of one-to-one 2016-08-13 15:33:54 -07:00
Patrick O'brien d92a439c54 Modify postgres query to get is_unique for indexes
* Remove unused SnakeCase function
* Fix formatting bug in relationship structs
2016-08-13 17:30:55 +10:00
Aaron L a98e474c9c Refactor WhereMultiple into new WhereClause 2016-08-08 19:33:10 -07:00
Aaron L 1236072f05 Fix struct tags for bind 2016-08-07 18:07:37 -07:00
Aaron L 307fe4919a Add parsing routine for SQL from/join statements
- Bonus: Add yaml/toml struct tags for models
2016-08-05 23:51:13 -07:00
Aaron L a1b14f4eae Fix struct tag generation.
- Clean up template
2016-08-03 22:34:46 -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/struct.tpl (Browse further)