Patrick O'brien
a073752df2
Remove duplicates from insert whitelist
2016-08-08 16:59:54 +10:00
Patrick O'brien
ed2c5e407d
Fix insert and update whitelist generators
2016-08-04 13:55:25 +10:00
Aaron L
b8b44eba98
Document generateInsertColumns properly.
2016-08-03 20:52:43 -07:00
Aaron L
4a90e726db
Fixed up documentation.
2016-08-03 20:23:55 -07:00
Patrick O'brien
2d732c727a
Remove X funcs and add G funcs
2016-08-01 15:10:10 +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
Patrick O'brien
c424780458
Refactored and finished insert tests
2016-07-14 15:09:05 +10:00
Patrick O'brien
4036786b6a
Got insert testing in a better state
...
* Split up insert function for testing
* Add DBType to global state
* Move test reflection helpers to testing.go
* Add incremental seed to randomizeField to avoid duplicate constraint
error messages
* Fixed Viper SSL default bug
* Fixed pgpass SSL inclusion bug
* Add MakeStringMap strmangle helper
* Change test errors from error to skip
2016-07-14 02:51:40 +10:00
Patrick O'brien
08d168605f
Added more insert test, added comments
...
* Added IsZeroValue helper
2016-07-08 01:59:07 +10:00
Aaron L
c731661261
Use new templating features in all templates
...
- Add another check for join tables in the to_many relationships stuff.
- Fix a number of quoting bugs in the templates.
2016-06-26 23:59:27 -07:00
Aaron L
84a160f3a4
Start of the to_many relationships.
2016-06-22 22:03:05 -07:00