postgres

package
v0.0.0-...-acda5ee Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeString

func SanitizeString(input string) string

SanitizeString converts input to another string that only contains utf-8 characters and not-null characters

func ToTSQuery

func ToTSQuery(input string) string

ToTSQuery converts input to another string that can be safely used for ts_query

Types

type Service

type Service struct{}

func (Service) Category

func (s Service) Category() string

func (Service) Enabled

func (s Service) Enabled() bool

func (Service) Init

func (s Service) Init()

func (Service) Name

func (s Service) Name() string

type SqlHandler

type SqlHandler func(trx *dbx.Trx, tenant *entity.Tenant, user *entity.User) error

Jump to

Keyboard shortcuts

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