utils

package
v0.0.0-...-dfb1a1c Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleSQLStatement

func AssembleSQLStatement(tableName string, length int) string

func ConnectToMySQL

func ConnectToMySQL(username, password, tableName string) *sql.DB

func ExecuteInsert

func ExecuteInsert(myMap map[int][]string, stmtStr string, db *sql.DB, fieldInfo []Field)

Types

type Field

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

func ParseMySQLTableSchema

func ParseMySQLTableSchema(dbName string, tableName string, db *sql.DB) []Field

Jump to

Keyboard shortcuts

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