qdb

package
v0.0.0-...-3b4bda9 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2016 License: GPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetThumbnailPath

func GetThumbnailPath(filename string) string

func PrepareStmt

func PrepareStmt(assignToVar **sql.Stmt, source string)

func SaveThumbnail

func SaveThumbnail(filename string, b []byte)

func ThumbnailExists

func ThumbnailExists(filename string) bool

Types

type InsertionStmtExecutor

type InsertionStmtExecutor interface {
	ExecuteInsertionStmt(stmt *sql.Stmt, additionalArgs ...interface{}) error
}

type QDB

type QDB struct {
	*sql.DB
}

func DB

func DB() *QDB

func (*QDB) MustPrepare

func (this *QDB) MustPrepare(query string) *sql.Stmt

type QueryStmtExecutor

type QueryStmtExecutor interface {
	ExecuteQueryStmt(stmt *sql.Stmt, additionalArgs ...interface{}) error
}

Jump to

Keyboard shortcuts

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