types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 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 ColumnDetails

type ColumnDetails struct {
	Name       string `db:"column_name"`
	DataType   string `db:"data_type"`
	IsNullable string `db:"is_nullable"`
}

type Table

type Table struct {
	Name       string `db:"table_name"`
	NumColumns int    `db:"num_cols"`
}

func (Table) Description

func (table Table) Description() string

func (Table) FilterValue

func (table Table) FilterValue() string

func (Table) Title

func (table Table) Title() string

type TableConstraint added in v0.3.0

type TableConstraint struct {
	Name        string  `db:"constraint_name"`
	Type        string  `db:"constraint_type"`
	CheckClause *string `db:"check_clause"`
}

Jump to

Keyboard shortcuts

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