jet/mysql/types.go
2020-05-10 11:41:07 +02:00

21 lines
749 B
Go

package mysql
import "github.com/go-jet/jet/internal/jet"
// Statement is common interface for all statements(SELECT, INSERT, UPDATE, DELETE, LOCK)
type Statement = jet.Statement
// Projection is interface for all projection types. Types that can be part of, for instance SELECT clause.
type Projection = jet.Projection
// ProjectionList can be used to create conditional constructed projection list.
type ProjectionList = jet.ProjectionList
// ColumnAssigment is interface wrapper around column assigment
type ColumnAssigment = jet.ColumnAssigment
// LoggableStatement is a statement which sql query can be logged
type LoggableStatement = jet.LoggableStatement
// SetLogger sets automatic statement logging
var SetLogger = jet.SetLoggerFunc