mssql

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mssql handles operations against SQL Server

Index

Constants

This section is empty.

Variables

View Source
var Gdb *sql.DB

Gdb is the database object

Functions

func ExecScript

func ExecScript(db *sql.DB, s string) (r sql.Result, err error)

ExecScript executes a script

func NewPool added in v1.1.0

func NewPool(cn string)

NewPool prepares a new connection pool

func ReadScript

func ReadScript(s string) string

ReadScript loads script file

func RunScripts

func RunScripts(s []string) (c int, err error)

RunScripts executes the schema scripts

Types

This section is empty.

Jump to

Keyboard shortcuts

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