iris_pg

package module
v0.0.0-...-4640bcb Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 12 Imported by: 0

README

iris-pg

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PostgresTableName = map[string]string{}
)

Functions

func GetBool

func GetBool(tree *toml.Tree, key string, values ...bool) bool

func GetJSON

func GetJSON(value interface{}) []byte

func GetString

func GetString(tree *toml.Tree, key string, values ...string) string

func GetTree

func GetTree(tree *toml.Tree, key string) *toml.Tree

func NormalizeName

func NormalizeName(s string) string

func ParseString

func ParseString(value interface{}, values ...string) string

func Plural

func Plural(s string) string

func StringifyTime

func StringifyTime(t time.Time) string

func StripKeywords

func StripKeywords(s string, values []string) string

Types

type PostgresInstance

type PostgresInstance struct {
	// contains filtered or unexported fields
}

func (*PostgresInstance) CreateIndexes

func (p *PostgresInstance) CreateIndexes(schemas iris.Map, indexes map[string][]string)

func (*PostgresInstance) CreateSchema

func (pg *PostgresInstance) CreateSchema(cfg *toml.Tree, schemas iris.Map, citus iris.Map)

Jump to

Keyboard shortcuts

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