# README
ql
Package ql is a pure Go embedded (S)QL database.
Installation
$ go get github.com/cznic/ql
Documentation: godoc.org/github.com/cznic/ql
Accompanying tool to play with a DB
Installation
$ go get github.com/cznic/ql/ql
Documentation: godoc.org/github.com/cznic/ql/ql
# Packages
Package design describes some of the data structures used in QL.
Package driver registers a QL sql/driver named "ql" and a memory driver named "ql-mem".
Command ql is a utility to explore a database, prototype a schema or test drive a query, etc.
No description provided by the author
# Functions
Compile parses the ql statements from src and returns a compiled list for DB.Execute or an error if any.
Marshal converts, in the order of appearance, fields of a struct instance v to []interface{} or an error, if any.
MustCompile is like Compile but panics if the ql statements in src cannot be compiled.
MustMarshal is like Marshal but panics on error.
MustSchema is like Schema but panics on error.
MustStructSchema is like StructSchema but panics on error.
NewRWCtx returns a new read/write transaction context.
OpenFile returns a DB backed by a named file.
OpenMem returns a new, empty DB backed by the process' memory.
RegisterDriver registers a QL database/sql/driver[0] named "ql".
RegisterMemDriver registers a QL memory database/sql/driver[0] named "ql-mem".
Schema returns a CREATE TABLE/INDEX statement(s) for a table derived from a struct or an error, if any.
StructSchema returns StructInfo for v which must be a struct instance or a pointer to a struct.
Unmarshal stores data from []interface{} in the struct value pointed to by v.
# Constants
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
Values of ColumnInfo.Type.
# Structs
ColumnInfo provides meta data describing a table column.
DB represent the database capable of executing QL statements.
DbInfo provides meta data describing a DB.
A HTTPFile is returned by the HTTPFS's Open method and can be served by the http.FileServer implementation.
HTTPFS implements a http.FileSystem backed by data in a DB.
IndexInfo provides meta data describing a DB index.
List represents a group of compiled statements.
Options amend the behavior of OpenFile.
SchemaOptions amend the result of Schema.
StructField describes a considered field of a struct type.
StructIndex describes an index defined by the ql tag index or uindex.
StructInfo describes a struct type.
TableInfo provides meta data describing a DB table.
TCtx represents transaction context.
# Interfaces
Recordset is a result of a select statement.
# Type aliases
Type represents a QL type (bigint, int, string, ...).