Documentation
¶
Overview ¶
Package lib contains the Ferret-facing DB::POSTGRES function bridge.
Index ¶
- func Begin(ctx context.Context, arg runtime.Value) (runtime.Value, error)
- func Close(_ context.Context, arg runtime.Value) (runtime.Value, error)
- func Commit(_ context.Context, arg runtime.Value) (runtime.Value, error)
- func Open(ctx context.Context, arg runtime.Value) (runtime.Value, error)
- func RegisterLib(ns runtime.Namespace) error
- func Rollback(_ context.Context, arg runtime.Value) (runtime.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Close ¶
Close closes a Postgres database handle. Closing an already closed database is idempotent.
func RegisterLib ¶
RegisterLib registers the DB::POSTGRES namespace functions in the provided namespace.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.