Source File
large_objects.go
Belonging Package
github.com/jackc/pgx/v4
package pgx
import (
)
type LargeObjects struct {
tx Tx
}
type LargeObjectMode int32
const (
LargeObjectModeWrite LargeObjectMode = 0x20000
LargeObjectModeRead LargeObjectMode = 0x40000
)
func ( *LargeObjects) ( context.Context, uint32, LargeObjectMode) (*LargeObject, error) {
var int32
:= .tx.QueryRow(, "select lo_open($1, $2)", , ).Scan(&)
if != nil {
return nil,
}
return &LargeObject{fd: , tx: .tx, ctx: }, nil
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |