Documentation ¶
Overview ¶
Package repo implements repo connection.
Index ¶
- type Batch
- type Option
- type Postgres
- type Tx
- func (ct *Tx) Begin(ctx context.Context) (pgx.Tx, error)
- func (ct *Tx) Commit(ctx context.Context) error
- func (ct *Tx) Conn() *pgx.Conn
- func (ct *Tx) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, ...) (int64, error)
- func (ct *Tx) Exec(ctx context.Context, sql string, args ...any) (pgconn.CommandTag, error)
- func (ct *Tx) LargeObjects() pgx.LargeObjects
- func (ct *Tx) Prepare(ctx context.Context, name, sql string) (*pgconn.StatementDescription, error)
- func (ct *Tx) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (ct *Tx) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- func (ct *Tx) Rollback(ctx context.Context) error
- func (ct *Tx) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
Postgres -.
Click to show internal directories.
Click to hide internal directories.