Documentation
¶
Index ¶
- Variables
- func Exec(h Handle, ctx context.Context, sql string, args ...interface{}) (pgconn.CommandTag, error)
- func Query(h Handle, ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func QueryRow(h Handle, ctx context.Context, sql string, args ...interface{}) pgx.Row
- type Handle
- type Row
- type Rows
- func (r *Rows) Close()
- func (r *Rows) CommandTag() pgconn.CommandTag
- func (r *Rows) Err() error
- func (r *Rows) FieldDescriptions() []pgproto3.FieldDescription
- func (r *Rows) Next() bool
- func (r *Rows) RawValues() [][]byte
- func (r *Rows) Scan(args ...interface{}) error
- func (r *Rows) Values() ([]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRows = pgx.ErrNoRows
Functions ¶
Types ¶
type Rows ¶
type Rows struct {
// contains filtered or unexported fields
}
func (*Rows) CommandTag ¶
func (r *Rows) CommandTag() pgconn.CommandTag
func (*Rows) FieldDescriptions ¶
func (r *Rows) FieldDescriptions() []pgproto3.FieldDescription
Click to show internal directories.
Click to hide internal directories.