table

package
v0.0.0-...-e98148d Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table struct {
	Statements statement.Statements
	Name       string

	// If a table has foreign keys, then it has Dependencies on those other tables.
	Dependencies []string
}

Table is a collection of Statements, and a representation of a sqlite database table. It should have a way to input from and output to both a plaintext "Decomposition" of the table, and a binary sqlite database file.

func (*Table) Add

func (t *Table) Add(s *statement.Statement) error

Add a statement to the Table

func (*Table) String

func (t *Table) String() string

Jump to

Keyboard shortcuts

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