dialect

package
v0.0.0-...-82e7740 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: MIT Imports: 0 Imported by: 6

README

data-dialect GoDoc

db dialect library for Go

Installation

go get gopkg.in/goyy/goyy.v0/data/dialect

Documentation

Overview

Package dialect implements dialect utility functions.

Usage

mysql := &dialect.MySQL{}
fmt.Println(mysql.Type())

Index

Constants

View Source
const (
	// MYSQL MySQL.
	MYSQL = "MySQL"
	// POSTGRESQL PostgreSQL.
	POSTGRESQL = "PostgreSQL"
	// SQLITE Sqlite.
	SQLITE = "Sqlite"
	// ORACLE Oracle.
	ORACLE = "Oracle"
	// SQLSERVER SQLServer.
	SQLSERVER = "SQLServer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Type() string
}

Interface dialect interface.

type MySQL

type MySQL struct {
	// contains filtered or unexported fields
}

MySQL mysql dialect.

func (*MySQL) Type

func (me *MySQL) Type() string

Type return the type of dialect.

type Oracle

type Oracle struct {
	// contains filtered or unexported fields
}

Oracle oracle dialect.

func (*Oracle) Type

func (me *Oracle) Type() string

Type return the type of dialect.

type PostgreSQL

type PostgreSQL struct {
	// contains filtered or unexported fields
}

PostgreSQL postgres dialect.

func (*PostgreSQL) Type

func (me *PostgreSQL) Type() string

Type return the type of dialect.

type SQLServer

type SQLServer struct {
	// contains filtered or unexported fields
}

SQLServer sqlserver dialect.

func (*SQLServer) Type

func (me *SQLServer) Type() string

Type return the type of dialect.

type Sqlite

type Sqlite struct {
	// contains filtered or unexported fields
}

Sqlite sqlite dialect.

func (*Sqlite) Type

func (me *Sqlite) Type() string

Type return the type of dialect.

Jump to

Keyboard shortcuts

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