Commit graph

772 commits

Author SHA1 Message Date
Patrick O'brien
67ae024439 Unexport Relationship struct 2016-09-01 13:33:05 +10:00
Patrick O'brien
2ecff95e42 Add SQL string cache 2016-09-01 11:28:35 +10:00
Patrick O'brien
d56e28a36d Fix Location pointer 2016-09-01 11:24:39 +10:00
Patrick O'brien
8f6191c4d2 Move buildUpsertQuery to boil 2016-09-01 11:20:16 +10:00
Patrick O'brien
87b1f90c43 Fix Find name 2016-09-01 11:16:21 +10:00
Patrick O'brien
e33da59f0b Update hook names 2016-09-01 11:12:46 +10:00
Patrick O'brien
3d863b7e58 Finish README (except benchmarks) 2016-09-01 10:35:32 +10:00
Patrick O'brien
fffca20cda README 2016-09-01 09:05:06 +10:00
Patrick O'brien
516ce100f2 README 2016-09-01 07:03:11 +10:00
Patrick O'brien
7b63458055 README 2016-09-01 07:01:59 +10:00
Patrick O'brien
b655c90386 README 2016-09-01 00:35:24 +10:00
Patrick O'brien
c19146428c README 2016-09-01 00:13:39 +10:00
Patrick O'brien
aa162482ad README 2016-08-31 22:21:43 +10:00
Patrick O'brien
bf0e446eda README 2016-08-31 22:04:39 +10:00
Patrick O'brien
5ac400d18c README 2016-08-31 19:41:00 +10:00
Patrick O'brien
caf4cb97aa README
- function variations, query mods, query building sections
- remove useless toml tags
2016-08-31 15:10:30 +10:00
Patrick O'brien
41c05858fd More readme 2016-08-31 00:04:39 +10:00
Patrick O'brien
82e55df5bb README fix some formatting 2016-08-30 21:04:58 +10:00
Patrick O'brien
ec4b7163c2 Readme - headers and more organization 2016-08-30 20:38:29 +10:00
Patrick O'brien
e41b223838 Readme diagnosing problems & compat tests 2016-08-30 18:54:21 +10:00
Patrick O'brien
7ecadcf567 Readme 2016-08-30 16:58:14 +10:00
Patrick O'brien
4167d9b535 Add config 2016-08-30 16:35:11 +10:00
Aaron L
1ad118ff63 Vendored deps. 2016-08-29 23:24:25 -07:00
Aaron L
ed5a3286fc Fix the help for basedir 2016-08-29 23:00:54 -07:00
Aaron L
79d8642d8d Put setops into their final resting place. 2016-08-29 22:58:55 -07:00
Patrick O'brien
89995fd746 Update hooks, and flags 2016-08-30 15:56:17 +10:00
Aaron L
32b5952c96 Make sure we pass around the addr of slices.
- Use reflect.Indirect instead of .Elem()
2016-08-29 22:49:02 -07:00
Aaron L
f2b8f39d47 Initial nested eager load. 2016-08-29 22:49:02 -07:00
Patrick O'brien
8ab617ef71 Add to readme
* More about automated timestamps
* Section on requirements and recommendations
2016-08-30 15:24:09 +10:00
Patrick O'brien
d735c3df36 Add For query mod 2016-08-30 13:13:00 +10:00
Patrick O'brien
bc602811a8 Hush linter 2016-08-30 03:12:22 +10:00
Patrick O'brien
629ec8c8d0 Add hooks to eager load funcs
* Add PreserveDots text helper
* Fix bug using wrong XTitleCases name
2016-08-30 02:36:07 +10:00
Patrick O'brien
ccdfc93fee Add auto timestamps for upsert
* Add IsZero checks for auto timestamps
2016-08-29 23:23:42 +10:00
Patrick O'brien
7f24185544 Add executor to hooks 2016-08-29 23:23:42 +10:00
Aaron L
9553f462c7 Merge branch 'sets' 2016-08-28 23:29:47 -07:00
Aaron L
ae99b2a649 Finish ToManyRemove.
- Make Set test better.
2016-08-28 23:26:44 -07:00
Aaron L
d9931fe7ba Finish Set 2016-08-28 21:12:04 -07:00
Aaron L
128ecb4a77 Add ToManySet test. 2016-08-28 17:07:36 -07:00
Aaron L
4ba1849297 Finish ToManyAdd 2016-08-28 16:51:07 -07:00
Aaron L
4e70c9bb17 Near completion on the ToManyAdd setop 2016-08-28 16:36:49 -07:00
Aaron L
e46daf0991 Fix ToMany.Func.ForeignName for renamed fkeys 2016-08-28 16:01:43 -07:00
Aaron L
0eea12fb75 Complete removal on the remove method 2016-08-28 15:01:37 -07:00
Patrick O'brien
96d40fcfe4 Add automatic timestamps for created_at/updated_at
* Update and Insert
* Add --no-auto-timestamps flag
2016-08-29 00:12:37 +10:00
Patrick O'brien
677d45cef4 Add delete and insert hooks to templates 2016-08-28 22:16:08 +10:00
Patrick O'brien
d9ec68b76a Add afterSelectHooks to One and All finishers 2016-08-28 22:02:21 +10:00
Patrick O'brien
e2553705e1 Remove BeforeSelect hook (makes no sense) 2016-08-28 21:23:08 +10:00
Patrick O'brien
2a5630ce3e Add before/after select/delete to hooks generation
* Add tests for all hooks
2016-08-28 21:13:45 +10:00
Patrick O'brien
8aad8fc479 Rename before/after Create hook to Insert hook 2016-08-28 20:54:46 +10:00
Patrick O'brien
95ff24b918 Add --no-hooks feature 2016-08-28 20:48:50 +10:00
Aaron L
947081c579 Rename ReverseInserts -> OneToOne
- Fix bug & failing test
- Skip WIP test
2016-08-28 00:27:50 -07:00