All Versions
8
Latest Version
Avg Release Cycle
16 days
Latest Release
122 days ago

Changelog History

  • v1.3.1

    August 05, 2019

    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

  • v1.3.0

    July 27, 2019
    • 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

    July 13, 2019

    👌 support not like

  • v1.2.0

    July 05, 2019

    ➕ 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},
        }
    
  • v1.1.2

    July 05, 2019

    👉 make regexp non-greedy

  • v1.1.1

    May 14, 2019

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

  • v1.1.0

    April 26, 2019
    • 👌 support replace into
    • 👌 support insert ignore into

    Thx for @guangxuewu 's contribution

  • v1.0.0

    April 18, 2019

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