engine

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2022 License: MIT Imports: 6 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 {
	Name   string
	Type   token.Token
	Values []interface{}
}

type DbEngine

type DbEngine struct {
	Tables map[string]map[int]*Column
}

func New

func New() *DbEngine

New Return new DbEngine struct

func (*DbEngine) CreateTable

func (engine *DbEngine) CreateTable(command *ast.CreateCommand)

func (*DbEngine) InsertIntoTable

func (engine *DbEngine) InsertIntoTable(command *ast.InsertCommand)

func (*DbEngine) SelectFromTable

func (engine *DbEngine) SelectFromTable(command *ast.SelectCommand) string

Jump to

Keyboard shortcuts

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