sqliteutils

package
v0.0.0-...-6dd71d7 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema struct {
	Type     string `db:"type"`
	Name     string `db:"name"`
	TblName  string `db:"tbl_name"`
	RootPage int64  `db:"rootpage"`
	SQL      string `db:"sql"`
}

func GetSchema

func GetSchema(db *sqlx.DB) ([]Schema, error)

func GetTable

func GetTable(db *sqlx.DB, name string) (*Schema, error)

func GetTables

func GetTables(db *sqlx.DB) ([]Schema, error)

Jump to

Keyboard shortcuts

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