sqlite

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 SQLite.

func New

func New() *Dialect

New cria uma nova instância do dialeto SQLite.

func (*Dialect) GetType

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

GetType retorna o tipo SQLite para um tipo Go. SQLite tem um sistema de tipos mais flexível que outros bancos.

func (*Dialect) Placeholder

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

Placeholder retorna o placeholder para SQLite (?). SQLite usa placeholders posicionais simples (?) ao invés de numerados.

func (*Dialect) QuoteIdentifier

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

QuoteIdentifier adiciona aspas duplas ao identificador. SQLite usa aspas duplas (") para escapar identificadores.

Jump to

Keyboard shortcuts

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