Documentation ¶
Index ¶
- type Cache
- func (c *Cache) Begin() (*Tx, error)
- func (c *Cache) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error)
- func (c *Cache) Close() error
- func (c *Cache) DB() *sqlx.DB
- func (c *Cache) Exec(query string, args ...interface{}) (sql.Result, error)
- func (c *Cache) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (c *Cache) Get(dest interface{}, query string, args ...interface{}) error
- func (c *Cache) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (c *Cache) NamedExec(query string, arg interface{}) (sql.Result, error)
- func (c *Cache) NamedExecContext(ctx context.Context, query string, arg interface{}) (sql.Result, error)
- func (c *Cache) NamedGet(dest interface{}, query string, arg interface{}) error
- func (c *Cache) NamedGetContext(ctx context.Context, dest interface{}, query string, arg interface{}) error
- func (c *Cache) NamedQuery(query string, arg interface{}) (*sql.Rows, error)
- func (c *Cache) NamedQueryContext(ctx context.Context, query string, arg interface{}) (*sql.Rows, error)
- func (c *Cache) NamedQueryRow(query string, arg interface{}) (*sqlx.Row, error)
- func (c *Cache) NamedQueryRowContext(ctx context.Context, query string, arg interface{}) (*sqlx.Row, error)
- func (c *Cache) NamedSelect(dest interface{}, query string, arg interface{}) error
- func (c *Cache) NamedSelectContext(ctx context.Context, dest interface{}, query string, arg interface{}) error
- func (c *Cache) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (c *Cache) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (c *Cache) QueryRow(query string, args ...interface{}) (*sql.Row, error)
- func (c *Cache) QueryRowContext(ctx context.Context, query string, args ...interface{}) (*sql.Row, error)
- func (c *Cache) QueryRowxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Row, error)
- func (c *Cache) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)
- func (c *Cache) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
- func (c *Cache) QueryxRow(query string, args ...interface{}) (*sqlx.Row, error)
- func (c *Cache) Select(dest interface{}, query string, args ...interface{}) error
- func (c *Cache) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- type Tx
- func (tx *Tx) Commit() error
- func (tx *Tx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (tx *Tx) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (tx *Tx) Get(dest interface{}, query string, args ...interface{}) error
- func (tx *Tx) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (tx *Tx) NamedExec(query string, arg interface{}) (sql.Result, error)
- func (tx *Tx) NamedExecContext(ctx context.Context, query string, arg interface{}) (sql.Result, error)
- func (tx *Tx) NamedGet(dest interface{}, query string, arg interface{}) error
- func (tx *Tx) NamedGetContext(ctx context.Context, dest interface{}, query string, arg interface{}) error
- func (tx *Tx) NamedQuery(query string, arg interface{}) (*sql.Rows, error)
- func (tx *Tx) NamedQueryContext(ctx context.Context, query string, arg interface{}) (*sql.Rows, error)
- func (tx *Tx) NamedQueryRow(query string, arg interface{}) (*sqlx.Row, error)
- func (tx *Tx) NamedQueryRowContext(ctx context.Context, query string, arg interface{}) (*sqlx.Row, error)
- func (tx *Tx) NamedQueryx(query string, arg interface{}) (*sqlx.Rows, error)
- func (tx *Tx) NamedQueryxContext(ctx context.Context, query string, arg interface{}) (*sqlx.Rows, error)
- func (tx *Tx) NamedSelect(dest interface{}, query string, arg interface{}) error
- func (tx *Tx) NamedSelectContext(ctx context.Context, dest interface{}, query string, arg interface{}) error
- func (tx *Tx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (tx *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func (tx *Tx) QueryRowxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Row, error)
- func (tx *Tx) Queryx(query string, args ...interface{}) (*sqlx.Rows, error)
- func (tx *Tx) QueryxContext(ctx context.Context, query string, args ...interface{}) (*sqlx.Rows, error)
- func (tx *Tx) QueryxRow(query string, args ...interface{}) (*sqlx.Row, error)
- func (tx *Tx) Rollback() error
- func (tx *Tx) Select(dest interface{}, query string, args ...interface{}) error
- func (tx *Tx) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (tx *Tx) Tx() *sqlx.Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) ExecContext ¶
func (*Cache) GetContext ¶
func (*Cache) NamedExecContext ¶
func (*Cache) NamedGetContext ¶
func (*Cache) NamedQuery ¶
func (*Cache) NamedQueryContext ¶
func (*Cache) NamedQueryRow ¶
func (*Cache) NamedQueryRowContext ¶
func (*Cache) NamedSelect ¶
func (*Cache) NamedSelectContext ¶
func (*Cache) QueryContext ¶
func (*Cache) QueryRowContext ¶
func (*Cache) QueryRowxContext ¶
func (*Cache) QueryxContext ¶
type Tx ¶
type Tx struct {
// contains filtered or unexported fields
}
func (*Tx) ExecContext ¶
func (*Tx) GetContext ¶
func (*Tx) NamedExecContext ¶
func (*Tx) NamedGetContext ¶
func (*Tx) NamedQueryContext ¶
func (*Tx) NamedQueryRow ¶
func (*Tx) NamedQueryRowContext ¶
func (*Tx) NamedQueryx ¶
func (*Tx) NamedQueryxContext ¶
func (*Tx) NamedSelect ¶
func (*Tx) NamedSelectContext ¶
func (*Tx) QueryContext ¶
func (*Tx) QueryRowxContext ¶
func (*Tx) QueryxContext ¶
func (*Tx) SelectContext ¶
Click to show internal directories.
Click to hide internal directories.