sqlite3

package
v0.0.8-b Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Conn

type Conn struct {
	ansi.ConnectionStatements
	ansi.SchemaStatements
	ansi.DatabaseStatements
	// contains filtered or unexported fields
}

func (*Conn) AddForeignKey

func (c *Conn) AddForeignKey(ctx context.Context, owner, target string) error

func (*Conn) BeginTransaction

func (c *Conn) BeginTransaction(ctx context.Context) (activerecord.Conn, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) ColumnDefinitions

func (c *Conn) ColumnDefinitions(ctx context.Context, tableName string) (
	[]activerecord.ColumnDefinition, error,
)

func (*Conn) CommitTransaction

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

func (*Conn) ExecInsert

func (c *Conn) ExecInsert(ctx context.Context, op *activerecord.InsertOperation) (
	id interface{}, err error,
)

func (*Conn) RollbackTransaction

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

Jump to

Keyboard shortcuts

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