Documentation
¶
Overview ¶
Package mysql provides helpers for working with the MySQL database using the github.com/go-sql-driver/mysql driver. Should be imported explicitly. To register mysql as retryable func use side effect import like so:
import _ "github.com/acronis/go-dbkit/mysql"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMySQLError ¶
CheckMySQLError checks if the passed error relates to MySQL, and it's internal code matches the one from the argument.
Types ¶
Click to show internal directories.
Click to hide internal directories.