bigquery

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 15 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 {
	gorm.DefaultForeignKeyNamer
	// contains filtered or unexported fields
}

func (*Dialect) BindVar

func (b *Dialect) BindVar(i int) string

func (Dialect) CurrentDatabase

func (b Dialect) CurrentDatabase() string

func (*Dialect) DataTypeOf

func (b *Dialect) DataTypeOf(field *gorm.StructField) string

func (Dialect) DefaultValueStr

func (b Dialect) DefaultValueStr() string

func (*Dialect) GetName

func (b *Dialect) GetName() string

func (*Dialect) HasColumn

func (b *Dialect) HasColumn(tableName string, columnName string) bool

func (Dialect) HasForeignKey

func (b Dialect) HasForeignKey(tableName string, foreignKeyName string) bool

func (*Dialect) HasIndex

func (b *Dialect) HasIndex(tableName string, indexName string) bool

func (*Dialect) HasTable

func (b *Dialect) HasTable(in string) bool

func (Dialect) LastInsertIDReturningSuffix

func (b Dialect) LastInsertIDReturningSuffix(tableName, columnName string) string

func (Dialect) LimitAndOffsetSQL

func (b Dialect) LimitAndOffsetSQL(limit, offset interface{}) (sql string)

func (Dialect) ModifyColumn

func (b Dialect) ModifyColumn(tableName string, columnName string, typ string) error

func (Dialect) NormalizeIndexAndColumn

func (b Dialect) NormalizeIndexAndColumn(indexName, columnName string) (string, string)

func (*Dialect) Quote

func (b *Dialect) Quote(key string) string

func (Dialect) RemoveIndex

func (b Dialect) RemoveIndex(tableName string, indexName string) error

func (Dialect) SelectFromDummyTable

func (b Dialect) SelectFromDummyTable() string

func (*Dialect) SetDB

func (b *Dialect) SetDB(db gorm.SQLCommon)

Jump to

Keyboard shortcuts

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