postgres

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsComparisonOperator

func IsComparisonOperator(s string) bool

func IsMathematicalOperator

func IsMathematicalOperator(s string) bool

Types

type Column

type Column struct {
	Table   string
	GoName  string
	GoType  string
	Name    string
	Type    string
	NotNull bool
}

type Constant

type Constant struct {
	Name  string
	Type  string
	Value string
}

type Enum

type Enum struct {
	GoName string
	Name   string
	Vals   []string
}

func (Enum) Constants

func (e Enum) Constants() []Constant

type Schema

type Schema struct {
	Tables []Table
	Enums  []Enum
}

type Table

type Table struct {
	GoName  string
	Name    string
	Columns []Column
}

Jump to

Keyboard shortcuts

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