Documentation ¶
Index ¶
- func OneCol[T any](vals ...T) rows
- func OneRow(vals ...any) rows
- func Ref[T any](val T) *T
- type MockRows
- func (m *MockRows) Close()
- func (m *MockRows) CommandTag() pgconn.CommandTag
- func (m *MockRows) Conn() *pgx.Conn
- func (m *MockRows) Err() error
- func (m *MockRows) FieldDescriptions() []pgconn.FieldDescription
- func (m *MockRows) IsClosed() bool
- func (m *MockRows) Next() bool
- func (m *MockRows) RawValues() [][]byte
- func (m *MockRows) Reset()
- func (m *MockRows) Scan(dest ...any) error
- func (m *MockRows) ThenErr(err error)
- func (m *MockRows) ThenPanic(err error)
- func (m *MockRows) Values() ([]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockRows ¶
type MockRows struct {
// contains filtered or unexported fields
}
func MakeMockRows ¶
func (*MockRows) CommandTag ¶
func (m *MockRows) CommandTag() pgconn.CommandTag
func (*MockRows) FieldDescriptions ¶
func (m *MockRows) FieldDescriptions() []pgconn.FieldDescription
Click to show internal directories.
Click to hide internal directories.