msarchitect

package
v2.5.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(dsn string) db.Driver

New opens a database connection and returns a Driver

Types

type Driver

type Driver struct {
	DB *qbdb.DB
}

Driver implements db.Driver

func (Driver) GetFields

func (d Driver) GetFields(table string) []db.Field

GetFields returns all fields in a table

func (Driver) GetTables

func (d Driver) GetTables() []string

GetTables returns all tables in the database

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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