Patrick O'brien
2d732c727a
Remove X funcs and add G funcs
2016-08-01 15:10:10 +10:00
Patrick O'brien
488e203c0b
Change objectSlice to be exported (ObjectSlice)
2016-07-17 00:15:14 +10:00
Patrick O'brien
726fae9af1
Add MustTx helper, move deletes to bottom of tests
2016-07-15 15:32:36 +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
Aaron L
49d3260dcd
Fix where clause so it outputs quotes.
...
- Fix templates that this change broke
2016-06-26 23:56:45 -07:00
Aaron L
fee1231813
Push strmangle refactoring through everything.
2016-06-22 23:48:49 -07:00
Aaron L
4d0742b6f3
Fix up a number more template errors from refactor
...
- Add quoteWrap function to help where some of the old helpers were
covering.
2016-06-19 22:58:14 -07:00
Aaron L
119e683952
Use extensive piping throughout the templates
...
- Haskell ftw
2016-06-19 22:22:50 -07:00
Patrick O'brien
fc4efc782d
Finished Bind template test (added slice route)
2016-06-15 02:15:58 +10: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
e49df72e84
Added Count() test to template tests
2016-06-14 23:15:32 +10:00
Patrick O'brien
0bb847c0da
Refactor Where clause, add to insert builder
...
* Fix Find template comparison, replace DeepEqual
2016-06-12 07:55:23 -07:00
Patrick O'brien
3352220c53
Merge branch 'master' of github.com:nullbio/sqlboiler
2016-06-12 16:50:38 +10:00
Aaron L
8757c8a184
Refactor entire project :D
...
- Move most files to root
- Remove cmds directory in favor of cmd directory with binary
- Remove all cobra from main
2016-06-11 18:25:00 -07:00