dialect

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 2 Imported by: 1

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{})
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL