info

package
v1.17.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 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 Column

type Column struct {
	Catalog    string
	Schema     string
	Table      string
	Name       string
	DataType   string
	IsNullable bool
}

type InformationSchema

type InformationSchema struct {
	// contains filtered or unexported fields
}

func Newo

Provide a read-only view into the catalog

func (*InformationSchema) Columns

func (i *InformationSchema) Columns() []Column

SELECT * FROM information_schema.columns;

func (*InformationSchema) Schemata

func (i *InformationSchema) Schemata() []Schema

SELECT * FROM information_schema.schemata;

func (*InformationSchema) Tables

func (i *InformationSchema) Tables() []Table

SELECT * FROM information_schema.tables;

type Schema

type Schema struct {
	Catalog string
	Name    string
}

type Table

type Table struct {
	Catalog string
	Schema  string
	Name    string
}

Jump to

Keyboard shortcuts

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