Top "Sqlx" questions

sqlx is a library which provides a set of extensions on go's standard database/sql library.

unsupported Scan, storing driver.Value type []uint8 into type *time.Time

I have difficulty querieing for users, which is defined as: type User struct { ID int `db:"id" json:"id"` UserName …

mysql go sqlx
Go: How to get last insert id on Postgresql with NamedExec()

I use jmoiron/sqlx library for communicating with my PostgreSql server in my Go apps. Somewhere on my apps i …

postgresql go sqlx
How to use sqlx to query mysql IN a slice?

I want to query a table in mysql database for values IN a slice: var qids []int //fill qids dynamically …

mysql go sqlx
How can I log all outgoing SQL statements from Go / MySQL?

I'm using a non-framework Go stack with sqlx, and MySQL for a web project. I would like to log all …

mysql go sqlx
Efficiently mapping one-to-many many-to-many database to struct in Golang

Question When dealing with a one-to-many or many-to-many SQL relationship in Golang, what is the best (efficient, recommended, "Go-like") way …

sql go struct sqlx
sqlx - non-struct dest type struct with >1 columns (2)

I have searched the error and I have find two questions: This one, but my question is not duplicate of …

go sqlx