package
0.0.22
Repository: https://github.com/mlhoyt/ramsql.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package parser implements a parser for SQL statements Inspired by go/parser.
No description provided by the author

# Functions

New initialize a new RamSQL server.
NewAttribute initialize a new Attribute struct.
NewOperator initializes the operator matching the Token number.
NewRelation initializes a new Relation struct.
NewTable initializes a new Table.
NewTuple should check that value are for the right Attribute and match domain.
TrueOperator always returns true.

# Variables

TruePredicate is a predicate wich return always true.

# Structs

Attribute (aka Field, Column) is a named column of a relation.
Engine is the root struct of RamSQL server.
Predicate evaluate if a condition is valid with 2 values and an operator on this 2 values.
Relation is a table with column and rows AKA File.
Table is defined by a name and attributes A table with data is called a Relation.
Tuple is a row in a relation.
Value is a value given to predicates.

# Interfaces

PredicateLinker referes to AND and OR operators.

# Type aliases

Operator compares 2 values and return a boolean.