Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBVersion ¶
DBVersion returns the current version of the database schema. The library exposes a GetDBVersion function which however requires a *sql.Db object. Several contest flows work instead within a transactional context, so we need to be able to extract the version in a way that is agnostic to the `sql` object used (either `sql.Tx` or `sql.Db`).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.