mem

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func NewDatabase

func NewDatabase(name string) *Database

func (*Database) AddTable

func (d *Database) AddTable(name string, t *Table)

func (*Database) Name

func (d *Database) Name() string

func (*Database) Relations

func (d *Database) Relations() map[string]sql.PhysicalRelation

type Table

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

func NewTable

func NewTable(name string, schema sql.Schema) *Table

func (*Table) Children

func (t *Table) Children() []sql.Node

func (*Table) Insert

func (t *Table) Insert(values ...interface{}) error

func (*Table) Name

func (t *Table) Name() string

func (Table) Resolved

func (Table) Resolved() bool

func (*Table) RowIter

func (t *Table) RowIter() (sql.RowIter, error)

func (*Table) Schema

func (t *Table) Schema() sql.Schema

func (*Table) TransformExpressionsUp

func (t *Table) TransformExpressionsUp(f func(sql.Expression) sql.Expression) sql.Node

func (*Table) TransformUp

func (t *Table) TransformUp(f func(sql.Node) sql.Node) sql.Node

Jump to

Keyboard shortcuts

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