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
7cdf44376b
Add even more nullable things for FKeys.
2016-07-12 08:09:26 -07:00
Aaron L
fb802ad687
Add to_many relationships as a first class citizen
...
- to_many relationships are now cached on the table data structure
- to_many relationships now know if any columns involved are nullable
2016-07-11 23:49:42 -07:00
Aaron L
bac9bb30ce
Add a GetTable helper.
2016-07-11 23:48:30 -07:00
Aaron L
231b45d57a
Add a way to lookup table columns by name
2016-07-11 20:40:24 -07:00
Aaron L
cdec85f11a
Fix formatting.
2016-07-11 15:21:04 -07:00
Aaron L
2b666e74de
Add postgres sslmode to configuration.
2016-07-11 15:17:49 -07:00
Aaron L
d7adb7006e
Rename IsNullable -> Nullable
...
- Skip insert test
- Fix whitespacing issue
2016-07-09 10:13:35 -07:00
Aaron L
104d0e57cd
Add nullability to foreign keys.
...
- Remove some debug output.
- Add some parallel
2016-07-09 09:59:37 -07:00
Patrick O'brien
013b3ae0f8
Added more reflect helpers
2016-07-09 02:39:36 +10:00
Patrick O'brien
0275677216
Merge branch 'master' of github.com:nullbio/sqlboiler
2016-07-06 16:04:54 +10:00
Patrick O'brien
7a0b84848f
Add more tests to insert template tests
...
* Add helpers to assist with template tests
* Change null []byte from string to []byte
2016-07-06 16:02:35 +10:00
Aaron L
9a80de4103
Fix a foreign key lookup bug.
2016-07-01 15:52:19 -07:00
Aaron L
59c7496521
Expose more information about join tables
2016-07-01 10:34:40 -07:00
Aaron L
6dac631a93
Add new functions to support more templating
...
- Add joinSlices
- Add ways to pull apart a slice of SQLColumnDef
- Try to stop generating join tables (but it still gens for some reason)
2016-06-26 23:59:27 -07:00
Aaron L
f7a4d3d34b
Remove system tables from postgres driver lookups
2016-06-26 23:59:27 -07:00
Aaron L
0fb4739b00
Add JoinTable information to relationships.
2016-06-26 23:56:45 -07:00
Aaron L
c7eafa4e08
Make relationships output the column name
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
60f6080e73
Refactor dbdrivers into two packages
...
- Break dbdrivers into bdb and drivers
- Break each type in dbdrivers into it's own file set.
2016-06-22 23:11:32 -07:00