Method
CopyFrom
(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource)
Source from the content-addressed store, hash-verified
| 99 | } |
| 100 | |
| 101 | func (c *Conn) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource) (int64, error) { |
| 102 | return c.Conn().CopyFrom(ctx, tableName, columnNames, rowSrc) |
| 103 | } |
| 104 | |
| 105 | // Begin starts a transaction block from the *Conn without explicitly setting a transaction mode (see BeginTx with TxOptions if transaction mode is required). |
| 106 | func (c *Conn) Begin(ctx context.Context) (pgx.Tx, error) { |
Callers
nothing calls this directly
Tested by
no test coverage detected