Skip to content

Releases: xgfone/go-sqlx

v0.20.0

23 Jul 01:46
Compare
Choose a tag to compare
  • Added:
    • Add the support of the tag attribute notpropagate for the struct-type field.
  • Changed:
    • Change the sql model Base.

v0.19.0

03 Jul 09:09
Compare
Choose a tag to compare
  • Added:
    • Column supports to compare with other Column.
    • SelectBuilder supports to From one or more Table.
    • Add the model Base.
  • Fixed:
    • New and assign a default DB to the global variable DefaultDB.

v0.18.3

03 Jul 09:10
Compare
Choose a tag to compare
  • Fixed:
    • Column.In() uses values... to pass the values.

v0.18.2

23 Jun 14:21
Compare
Choose a tag to compare
  • Fixed:
    • Use decimal to convert int64 to string when scaning sql row by using ScanRow.

v0.18.1

15 Jun 15:21
Compare
Choose a tag to compare
  • Added:
    • Export the row scan function ScanRow, which is used by Row.Scan and Rows.Scan.
  • Fixed:
    • Row.Scan and Rows.Scan supports more types of the sql value like the builtin function Scan.

v0.18.0

10 Jun 14:17
Compare
Choose a tag to compare
  • Added:
    • The method Scan of Row and Rows supports that the source value is NULL.
    • Add the function ConditionsContain to check whether the condition has existed.

v0.17.0

24 Apr 14:40
Compare
Choose a tag to compare
  • Added:
    • Add some convenient functions, such as ColumnsContain and CheckErrNoRows.
    • Add some SQL statement builder methods for Table.
    • Add a default global DB variable DefaultDB.
  • Changed:
    • Rename the method Column of Table to NewColumn.

v0.16.0

08 Apr 15:37
Compare
Choose a tag to compare
  • Added:
    • Add the methods Get() and Set() for Time and Bool to get or set the value.
    • Add the field Layout for Time to allow the user to set the layout for a certain Time value.

v0.15.1

07 Apr 15:24
Compare
Choose a tag to compare
  • Fixed:
    • Update the dependency to support the sql type BIT(1) as sqlx.Bool.
  • Changed:
    • Remove the deprecated opentracing.

v0.15.0

21 Feb 15:06
Compare
Choose a tag to compare
  • Added:
    • Add the interfaces ColumnCondition and ColumnSetter to inspect the column name of Condition and Setter.