Bot releases are visible (Hide)
Full Changelog: https://github.com/didi/gendry/compare/v1.8.1...v1.8.2
Published by caibirdme about 1 year ago
Full Changelog: https://github.com/didi/gendry/compare/v1.8.0...v1.8.1
Published by caibirdme about 2 years ago
Published by caibirdme over 3 years ago
in
keyword is omitablemap[string]interface{}{
"foo in": []int{1,2,3},
}
// equals to
map[string]interface{}{
"foo": []int{1,2,3},
}
Published by caibirdme almost 4 years ago
Published by caibirdme about 4 years ago
Published by caibirdme over 4 years ago
Published by caibirdme almost 5 years ago
bump version to 1.3.2
Published by caibirdme about 5 years ago
Fix bug of _orderby&_groupby.
in mysql manual:
Parameter markers can be used only where data values should appear, not for SQL keywords, identifiers, and so forth.
see also: issue mysql manual
Published by caibirdme about 5 years ago
_orderby
, _groupby
and _limit
strings.Builder
to concat sql, which makes BuildSelect
nearly 10% fasterPublished by caibirdme over 5 years ago
support not like
Published by caibirdme over 5 years ago
add support for between and not between:
where := map[string]interface{}{
"age not between": []int{10, 30},
"name": "caibirdme",
"score between": []float64{3.5, 7.2},
}
Published by caibirdme over 5 years ago
make regexp non-greedy
Published by caibirdme over 5 years ago
support scan boolean type(in mysql tinyint(1)
)
Published by caibirdme over 5 years ago
replace into
insert ignore into
Thx for @guangxuewu 's contribution
Published by caibirdme over 5 years ago
the library is stable and can be used in production with confidence