testsDatabase

package
v0.0.0-...-a74fbde Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ErrFileTypeUnMatch = "file type unmatch"

ErrFileTypeUnMatch レコードなし

View Source
const ErrRecordeNotFound = "record not found"

ErrRecordeNotFound レコードなし

Variables

This section is empty.

Functions

func Execute

func Execute(query string) error

Execute クエリを実行する

func GetFindAll

func GetFindAll(dbModel interface{}) error

GetFindAll 全て取得する

func InsertBatch

func InsertBatch(tableName string, add []map[string]interface{}) error

InsertBatch 複数挿入する

func Truncate

func Truncate(tableName string) error

Truncate 空にする

Types

This section is empty.

Jump to

Keyboard shortcuts

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