package
0.54.1
Repository: https://github.com/moov-io/base.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
Deprecated: Here to not break compatibility since it was once public.
No description provided by the author
No description provided by the author
MySQLDataTooLong returns true when the provided error matches the MySQL code for data too long for column (when trying to insert a value that is greater than the defined max size of the column).
MySQLDeadlockFound returns true when the provided error matches the MySQL code for deadlock found.
No description provided by the author
MySQLUniqueViolation returns true when the provided error matches the MySQL code for duplicate entries (violating a unique table constraint).
New establishes a database connection according to the type and environmental variables for that specific database.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SpannerUniqueViolation returns true when the provided error matches the Spanner code for duplicate entries (violating a unique table constraint).
UniqueViolation returns true when the provided error matches a database error for duplicate entries (violating a unique table constraint).
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
ErrOpenConnections describes the number of open connections that should have been closed by a call to Close().
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author