pgx2kv

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PgxAddBucketNew func(p *pgxpool.Pool) s2k.AddBucket = pgxBucketAddNew(pgBulkAddQueryGenerator)
View Source
var PgxAddLogNew func(p *pgxpool.Pool) s2k.AddLog = pgxLogAddNew(pgAddLogQueryGenerator)
View Source
var PgxBatchUpsertNew func(p *pgxpool.Pool) s2k.SetBatch = pgxBatchUpsertNew(pgBufSetQueryGenerator)
View Source
var PgxBulkSetNew func(p *pgxpool.Pool) s2k.SetMany = pgxBulkSetNew(pgSetQueryGenerator)
View Source
var PgxBulkSetSingleBuilder func(bucketName string) func(p *pgxpool.Pool) s2k.SetMany2Bucket = s2k.Compose(
	bucket2queryNew(pgSetQueryGenerator),
	pgxBulkSetSingleNew,
)
View Source
var PgxDelBucketNew func(p *pgxpool.Pool) s2k.DelBucket = pgxBucketDelNew(pgBulkDelQueryGenerator)
View Source
var PgxLogInsBuilder func(bucketName string) func(p *pgxpool.Pool) s2k.InsLog = s2k.Compose(
	bucket2queryNew(pgLogInsertQueryGenerator),
	pgxLogInsertNew,
)
View Source
var PgxPairs2BucketSingleBuilder func(bucketName string) func(p *pgxpool.Pool) s2k.Pairs2Bucket = s2k.Compose(
	bucket2queryNew(pgSetQueryGenerator),
	pgxPairs2BucketSingleNew,
)

Functions

This section is empty.

Types

type QueryGenerator

type QueryGenerator func(bucketName string) (query string, e error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL