Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
Adapter is the gorm structure used as a template for the gorm based adapters.
func NewAdapter ¶
NewAdapter creates a new gorm based adapter. If the input driver is not a GORM driver, it would be wrapped by the xgorm.driver.
type Driver ¶ added in v0.0.16
type Driver struct {
// contains filtered or unexported fields
}
Driver is the gorm implementation for the driver name.
func (*Driver) CanRetry ¶ added in v0.0.16
CanRetry checks if the error relted query could be retried.
func (*Driver) DriverName ¶ added in v0.0.16
DriverName gets the name of the driver.
Click to show internal directories.
Click to hide internal directories.