Documentation
¶
Index ¶
Constants ¶
View Source
const ( MSSQL string = "sqlserver" Postgres string = "postgres" MySQL string = "mysql" SQLITE string = "sqlite3" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ComparatorType ¶
type ComparatorType int
const ( GreaterThanOrEqual ComparatorType = iota GreaterThan Equals LessThan LessThanOrEqual NotEquals Like Not )
func (ComparatorType) String ¶
func (ct ComparatorType) String() string
type QueryExecutor ¶
type QueryExecutor interface {
Exec(*queryObject) (QueryResult, error)
}
func NewRepository ¶
func NewRepository(conn *sql.DB, driver string) QueryExecutor
type QueryResult ¶
Click to show internal directories.
Click to hide internal directories.