Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialector ¶
type Dialector interface {
// Init is required to implement the concrete operation of connecting
// to the database and return the connection handle. This method will
// call in eorm.Open() to get the connection.
Init() (*sql.DB, error)
// DataTypeOf requires the mapping from glang data type to database data
// type. Thid method be used in schema.
DataTypeOf(typ reflect.Value) string
TableExistSQL(tableName string) (string, []interface{})
}
Click to show internal directories.
Click to hide internal directories.