pg

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 6 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PqSQL9

func PqSQL9() *database.Product

PqSQL9 return PostgreSQL 9.x product

Types

type PlaceholderGenerator

type PlaceholderGenerator struct {
}

PlaceholderGenerator represents placeholder

func (*PlaceholderGenerator) Len

func (p *PlaceholderGenerator) Len(start, numOfPlaceholders int) int

Len calculates length of placeholders might be used to alocate in advance required slice length

func (*PlaceholderGenerator) Resolver

func (p *PlaceholderGenerator) Resolver() func() string

Resolver returns Postgres placeholder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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