postgres

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 0 Imported by: 18

Documentation

Overview

Package postgres provides support to work with a postgres database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dialect

type Dialect struct{}

Dialect a Dialect configured for PostgreSQL.

func (Dialect) AllSQL

func (Dialect) AllSQL() string

AllSQL returns a SQL to get all entries in the table.

func (Dialect) CreateTableSQL

func (Dialect) CreateTableSQL() string

CreateTableSQL returns the SQL to create the schema table.

func (Dialect) InsertSQL

func (Dialect) InsertSQL() string

InsertSQL returns the SQL to insert a new migration in the schema table.

func (Dialect) UpdateChecksumSQL

func (Dialect) UpdateChecksumSQL() string

UpdateChecksumSQL returns the SQL update a checksum for a version.

Jump to

Keyboard shortcuts

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