postgres

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialect

type Dialect struct{}

Dialect é a implementação do dialeto PostgreSQL.

func New

func New() *Dialect

New cria uma nova instância do dialeto PostgreSQL.

func (*Dialect) GetType

func (d *Dialect) GetType(goType string) string

GetType retorna o tipo PostgreSQL para um tipo Go.

func (*Dialect) Placeholder

func (d *Dialect) Placeholder(n int) string

Placeholder retorna o placeholder para PostgreSQL ($1, $2, etc).

func (*Dialect) QuoteIdentifier

func (d *Dialect) QuoteIdentifier(name string) string

QuoteIdentifier adiciona aspas duplas ao identificador.

Jump to

Keyboard shortcuts

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