tables

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ALTER_TABLE_ADD

func ALTER_TABLE_ADD(table Table, column string, create string) string

func ALTER_TABLE_DROP

func ALTER_TABLE_DROP(table Table, column string) string

func ALTER_TABLE_RENAME

func ALTER_TABLE_RENAME(oldname string, name string) string

func COPY_TABLE

func COPY_TABLE(table Table, dest string, pragma map[string]string) string

func CREATE_TABLE

func CREATE_TABLE(table Table) string

func CREATE_TEMP_TABLE

func CREATE_TEMP_TABLE(table Table) string

func Columns added in v1.0.1

func Columns(table Table) map[string]string

func DROP_TABLE

func DROP_TABLE(table Table) string

func INSERT_VALUES

func INSERT_VALUES(table Table, fields []string, values []string) string

func Values added in v1.0.1

func Values(table Table) map[string]string

Types

type Table

type Table interface {
	// The SQL name of the table
	SQL() string
}

Jump to

Keyboard shortcuts

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