Maybe someone knows library for generating SQL statement. For example i found https://github.com/Masterminds/squirrel, but threre little problem with double value in where (i mean something like that WHERE (id, name) IN ((?,?)(?,?)))
Hello
I used this:
"_ “github.com/denisenkom/go-mssqldb”"
Example:
db, errdb := sql.Open("mssql", "server=localhost;user id=sa;password=4553;database=bank")
if errdb != nil {
fmt.Println(" Error open db:", errdb.Error())
}
defer db.Close()
You don’t understand me. I want to find some SQL statement constructor.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.