Aaron L
c07d21cffc
Fix primary key detection.
2016-06-19 16:53:45 -07:00
Aaron L
f46c2c5337
Add relationship "to_one" template.
...
- Temporarily add some new helper functions, going to clean these all
up in favor of pipes
- Annotate a couple of super weird methods
- Fix a printf verb for err
2016-06-19 16:01:22 -07:00
Aaron L
2819c1c889
Fix some missing parallels
2016-06-19 14:50:35 -07:00
Patrick O'brien
1508d85cb6
Finish Bind test, renamed querymods package
...
* Rename querymods qs package to qm
* Refactor comparing values in template tests to remove redundancy
2016-06-15 00:01:28 +10:00
Patrick O'brien
7aba7104a5
Fix null package imports, finish Bind
...
* Fix randomizeStruct time randomization
* Defer close sql.Rows
* Begin Delete test template
2016-06-08 15:45:34 +10:00
Patrick O'brien
a20574110c
Added SortByKeys to insert
2016-06-07 17:08:00 +10:00
Patrick O'brien
37a333f6ff
Added SortByKeys
...
* Fixed slice allocations in strmangle helpers
* Removed duplicate commaList function
2016-06-07 16:21:00 +10:00
Patrick O'brien
c2541ea56e
Begun implementing all tests
...
* Added randomizeStruct
* Added under development warning to readme
* Restructured the reflection stuff a bit
* Added a testmangle.go file for template test functions
2016-05-17 20:00:56 +10:00
Patrick O'brien
8f3ff66339
Finished insert and update, added UpdateAt
2016-05-06 19:31:51 +10:00
Patrick O'brien
92e2608a1b
Finished Update and UpdateX (needs make and copy)
...
* Added test for camelCaseCommaList
* Added function signature for UpdateAt and UpdateAtX
* Moved column type slices to helpers.tpl
2016-05-05 19:01:24 +10:00
Patrick O'brien
f1e8b21c0e
Fixed most template compile errors
...
* Empty params still erroring the exec due to comma
2016-05-03 23:42:25 +10:00
Patrick O'brien
f059bdebf4
Finished insert template
...
* Removed functions in helpers not being used
2016-05-02 16:34:25 +10:00
Patrick O'brien
c17e48c14a
Moved template functions to strmangle package
...
* Finished Find and FindX
2016-04-25 11:43:09 +10:00