Simple and Powerful ORM for Go, support mysql,postgres,tidb,sqlite3,mssql,oracle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
516 B

package core
import (
// Queryer represents an interface to query a SQL to get data from database
type Queryer interface {
QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
// Executer represents an interface to execute a SQL
type Executer interface {
ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
// QueryExecuter combines the Queryer and Executer
type QueryExecuter interface {