mysql

package
v0.0.0-...-9033470 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlDialect

type MysqlDialect struct {
	AfterSQL    string
	AfterAllSQL string
	RevSQL      string
	// contains filtered or unexported fields
}

func New

func New(db *sql.DB) (*MysqlDialect, uint64, error)

func (*MysqlDialect) After

func (d *MysqlDialect) After(ctx context.Context, resourceName string, revision uint64, limit int64) (*sql.Rows, error)

func (*MysqlDialect) ClearExpiredEvents

func (d *MysqlDialect) ClearExpiredEvents(ctx context.Context, dur time.Duration) (int, error)

func (*MysqlDialect) CurrentRevision

func (d *MysqlDialect) CurrentRevision(ctx context.Context) (uint64, error)

Jump to

Keyboard shortcuts

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