handlersrdb

package
v0.0.0-...-854da8c Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2018 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(dbContext db.Database, dbHandle *sql.DB, cmd *sqlcommand.SQLCommand, ctx *action.Context) error

Exec - execute sql for the databases

func PingHandler

func PingHandler(d db.Database, dh *sql.DB, cmd *sqlcommand.SQLCommand, ctx *action.Context) error

PingHandler - Ping the databases

func PrintStatistic

func PrintStatistic(dbs []db.Database, ctx *action.Context) error

PrintStatistic - print common statistic after execute action

func PrintStatisticQuery

func PrintStatisticQuery(dbs []db.Database, ctx *action.Context) error

PrintStatisticQuery - print statistic for each database after execute action

func Select

func Select(dbs1 db.Database, dsrc *sql.DB, cmd *sqlcommand.SQLCommand, ctx *action.Context) error

Select - it action for select command

func SelectAfter

func SelectAfter(dbs []db.Database, ctx *action.Context) error

SelectAfter trigger after for select action

func SelectBefore

func SelectBefore(dbs []db.Database, ctx *action.Context) error

SelectBefore trigger before for select action

func SelectError

func SelectError(dbs []db.Database, ctx *action.Context) error

SelectError trigger error for select action

func WriteRetryFile

func WriteRetryFile(dbs []db.Database, ctx *action.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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