Closed hxzhao527 closed 4 years ago
not good enough, I will find a better way to implement this.
I like that dotsql is a fairly simple wrapper over database/sql, and this PR looks the same over sqlx
. It would be great to merge this in the meantime, and get access to useful things like the Select
and easy prepared statements, even if you want to spend time doing something to switch out sql.DB
or sqlx.DB
later.
I like it as well. @hxzhao527 what would you change to make it good enough?
:joy: emmm, so sorry, I forgot what I want.
I'm not sure whether this is the proper way to integrate with sqlx.
In my opinion, implement
sql.DB
orsqlx.DB
interface maybe more elegant. :joy: but that will change the whole project.