mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-23 02:35:31 -04:00
* vendor github.com/jmoiron/sqlx * MM-11262: introduce a database store * revert unnecessary fmt.Errorf * simplify unit test helper methods * remote TODO re: retry * relocate initializeConfigurationsTable for clarity * factor out a commonStore * acquire database config lock on close for safety * add missing header * fix lock comment
12 lines
570 B
Go
12 lines
570 B
Go
// Package sqlx provides general purpose extensions to database/sql.
|
|
//
|
|
// It is intended to seamlessly wrap database/sql and provide convenience
|
|
// methods which are useful in the development of database driven applications.
|
|
// None of the underlying database/sql methods are changed. Instead all extended
|
|
// behavior is implemented through new methods defined on wrapper types.
|
|
//
|
|
// Additions include scanning into structs, named query support, rebinding
|
|
// queries for different drivers, convenient shorthands for common error handling
|
|
// and more.
|
|
//
|
|
package sqlx
|