Versions in this module Expand all Collapse all v1 v1.1.1 Jun 18, 2022 Changes in this version + const Bool + const Float32 + const Float64 + const Int + const Int64 + const String + type Col struct + BoolVal bool + Float32Val float32 + Float64Val float64 + Int64Val int64 + IntVal int + Name string + StringVal string + Type string + type Database struct + Name string + Tables map[string]*Table + func CreateDatabase(name string) Database + func (db *Database) Create(tableName string, cols ...Col) error + type Result struct + Db *Database + Error error + RowCount int + Rows []Row + TableName string + func (r *Result) And(col string, op string, operand interface{}) *Result + func (r *Result) Delete() + func (r *Result) Or(col string, op string, operand interface{}) *Result + func (r *Result) Select(cols string) *Result + func (r *Result) Update(col string, value interface{}) + type Row struct + Columns map[string]Col + Id int + type Table struct + Columns map[string]Col + Db *Database + Name string + RowCount int + Rows map[int]Row + func (table *Table) Insert(cols string, values ...interface{}) error + func (table *Table) Select(cols string) Result + func (table *Table) Where(col string, op string, operand interface{}) *Result