Skip to content

Releases: didi/gendry

v1.3.0

27 Jul 08:31
Compare
Choose a tag to compare
  • Fix potential sql injection bug caused by _orderby, _groupby and _limit
  • Using strings.Builder to concat sql, which makes BuildSelectnearly 10% faster

v1.2.1

13 Jul 07:35
Compare
Choose a tag to compare

support not like

v1.2.0

05 Jul 08:26
Compare
Choose a tag to compare

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},
	}

bug fix

05 Jul 04:25
Compare
Choose a tag to compare

make regexp non-greedy

v1.1.1

14 May 04:06
Compare
Choose a tag to compare

support scan boolean type(in mysql tinyint(1))

v1.1.0

26 Apr 06:46
Compare
Choose a tag to compare
  • support replace into
  • support insert ignore into

Thx for @guangxuewu 's contribution

stable

18 Apr 02:10
Compare
Choose a tag to compare

the library is stable and can be used in production with confidence