dialects

package
v3.30.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuroraDSQL

func NewAuroraDSQL() dialect.QuerierExtender

NewAuroraDSQL returns a new dialect.Querier for Aurora DSQL dialect.

func NewClickhouse

func NewClickhouse() dialect.Querier

NewClickhouse returns a new dialect.Querier for Clickhouse dialect.

func NewMysql

func NewMysql() dialect.QuerierExtender

NewMysql returns a new dialect.Querier for MySQL dialect.

func NewPostgres

func NewPostgres() dialect.QuerierExtender

NewPostgres returns a new dialect.Querier for PostgreSQL dialect.

func NewRedshift

func NewRedshift() dialect.Querier

Redshift returns a new dialect.Querier for Redshift dialect.

func NewSpanner added in v3.27.0

func NewSpanner() dialect.Querier

NewSpanner returns a dialect.Querier for Spanner dialect.

func NewSqlite3

func NewSqlite3() dialect.Querier

NewSqlite3 returns a dialect.Querier for SQLite3 dialect.

func NewSqlserver

func NewSqlserver() dialect.Querier

NewSqlserver returns a dialect.Querier for SQL Server dialect.

func NewStarrocks

func NewStarrocks() dialect.Querier

NewStarrocks returns a dialect.Querier for StarRocks dialect.

func NewTidb

func NewTidb() dialect.Querier

NewTidb returns a dialect.Querier for TiDB dialect.

func NewTurso

func NewTurso() dialect.Querier

NewTurso returns a dialect.Querier for Turso dialect.

func NewVertica

func NewVertica() dialect.Querier

NewVertica returns a new dialect.Querier for Vertica dialect.

DEPRECATED: Vertica support is deprecated and will be removed in a future release.

func NewYDB

func NewYDB() dialect.Querier

NewYDB returns a new dialect.Querier for Vertica dialect.

Types

type Tidb

type Tidb struct{}

func (*Tidb) CreateTable

func (t *Tidb) CreateTable(tableName string) string

func (*Tidb) DeleteVersion

func (t *Tidb) DeleteVersion(tableName string) string

func (*Tidb) GetLatestVersion

func (t *Tidb) GetLatestVersion(tableName string) string

func (*Tidb) GetMigrationByVersion

func (t *Tidb) GetMigrationByVersion(tableName string) string

func (*Tidb) InsertVersion

func (t *Tidb) InsertVersion(tableName string) string

func (*Tidb) ListMigrations

func (t *Tidb) ListMigrations(tableName string) string

Jump to

Keyboard shortcuts

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