jmoiron plays the blues
605458c8 to
gorp
all tests passing, performance isn't that hot
605458c8 to
gorp
all tests passing, performance isn't that hot
8c37ae15 to
gorp
all mappers strings.ToLower() field & db names by default; must use tags and TableWithName for different behavior. I prefer this default because InitiialCaps is part of go's visibility and not a style guideline, and trying to CamelCase->snake_case is beset by weird behavior.
8c37ae15 to
gorp
all mappers strings.ToLower() field & db names by default; must use tags and TableWithName for different behavior. I prefer this default because InitiialCaps is part of go's visibility and not a style guideline, and trying to CamelCase->snake_case is beset by weird behavior.
85841bec to
gorp
WIP replacement of Get internals with StructScan; this had implications with the TableMap, and I had to replace the ability to Rename colmaps, but since you can control table field names through struct tags I decided that having only One Place to do that was best, and doing it in the tags has advantages. Get currently doesn't return errors as I thought it should, and the Optimistic Locking is purposefully broken at the moment
85841bec to
gorp
WIP replacement of Get internals with StructScan; this had implications with the TableMap, and I had to replace the ability to Rename colmaps, but since you can control table field names through struct tags I decided that having only One Place to do that was best, and doing it in the tags has advantages. Get currently doesn't return errors as I thought it should, and the Optimistic Locking is purposefully broken at the moment
d926ea9a to
gorp
add bench_all.sh with some benchmark output, fix benchmarks for all dialects, add a ReBind function which takes a query and a dialect and formats its bindvars according to that dialect (given the basic '?' bindvar scheme)
d926ea9a to
gorp
add bench_all.sh with some benchmark output, fix benchmarks for all dialects, add a ReBind function which takes a query and a dialect and formats its bindvars according to that dialect (given the basic '?' bindvar scheme)
0d53cffa to
gorp
replace most of the hook system with a simpler one that uses interfaces to pre-calculate hook support and uses a lot less reflect
0d53cffa to
gorp
replace most of the hook system with a simpler one that uses interfaces to pre-calculate hook support and uses a lot less reflect
3017cc9f to
gorp
remove type conversion stuff (this is handled by the database/sql/driver Scanner interface) and get tests working on pg and sqlite
3017cc9f to
gorp
remove type conversion stuff (this is handled by the database/sql/driver Scanner interface) and get tests working on pg and sqlite
037a8e09 to
gorp
add back DbMap in mapper.go
037a8e09 to
gorp
add back DbMap in mapper.go
d9ad5b18 to
gorp
remove SelectVal helpers
d9ad5b18 to
gorp
remove SelectVal helpers
62273ba5 to
gorp
remove TypeConverter, move much of DbMap out to its own file; mapper will contain struct <-> db mappings, and a new query.go will contain query related functionality
62273ba5 to
gorp
remove TypeConverter, move much of DbMap out to its own file; mapper will contain struct <-> db mappings, and a new query.go will contain query related functionality
9f102f86 to
gorp
use new location of pq library
9f102f86 to
gorp
use new location of pq library
8cddd644 to
gorp
remove unnecessary Makefile
8cddd644 to
gorp
remove unnecessary Makefile