Planner/core/sqlexecutor.go

10 lines
244 B
Go
Raw Permalink Normal View History

2025-04-16 23:24:23 +02:00
package core
import "database/sql"
type SqlExecutor interface {
Exec(query string, args ...interface{}) (sql.Result, error)
Query(query string, args ...interface{}) (*sql.Rows, error)
QueryRow(query string, args ...interface{}) *sql.Row
}