simplite

package module
v0.0.0-...-eec6ed7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2019 License: MIT Imports: 5 Imported by: 0

README

simplite

sqlite操作工具

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSqlEngine

func NewSqlEngine(files string) *sqlEngine

Types

type SqlAdaptor

type SqlAdaptor interface {
	CreatTable(sqlStr string)
	Insert(table string, data []map[string]interface{})
	Update(table string, data map[string]interface{}, where map[string]interface{})
	Delete(table string, where map[string]string)
	Query(sqlStr string) []map[string]interface{}
}

Jump to

Keyboard shortcuts

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