async

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

Implements "*sql.DB"

func NewConnection

func NewConnection(db awsds.AsyncDB) *Conn

func (*Conn) Begin

func (c *Conn) Begin() (driver.Tx, error)

func (*Conn) CheckNamedValue

func (c *Conn) CheckNamedValue(v *driver.NamedValue) error

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) Ping

func (c *Conn) Ping() error

func (*Conn) PingContext

func (c *Conn) PingContext(ctx context.Context) error

func (*Conn) Prepare

func (c *Conn) Prepare(query string) (driver.Stmt, error)

func (*Conn) QueryContext

func (c *Conn) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error)

type Driver

type Driver interface {
	sqlDriver.Driver
	GetAsyncDB() (awsds.AsyncDB, error)
}

type Loader

type Loader func(api.AWSAPI) (Driver, error)

Jump to

Keyboard shortcuts

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