package
0.0.0-20220613080921-65fd79d85952
Repository: https://github.com/xqueries/xdb.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package page describes generic pages.
Package profile implements profiling with generic events.
No description provided by the author
No description provided by the author
Package types provides a type system for the add engine.
# Functions
ErrNoSuchColumn returns an error indicating that a requested column is not contained in the current result table.
ErrNoSuchFunction returns an error indicating that a function with the given name can not be found.
ErrUncomparable returns an error indicating that the given type does not implement the types.Comparator interface, and thus, values of that type cannot be compared.
ErrUnimplemented returns an error indicating a missing implementation for the requested feature.
New creates a new engine object and applies the given options to it.
ToNumericValue checks whether the given string is of this form https://www.sqlite.org/lang_expr.html#literal_values_constants_ .
WithLogger specifies a logger for the Engine.
WithProfiler passes a profiler into the engine.
WithRandomProvider sets a random provider, which will be used by the engine to evaluate expressions, that require a random source, such as the function RANDOM().
WithTimeProvider sets a time provider, which will be used by the engine to evaluate expressions, that require a timestamp, such as the function NOW().
WithTransactionManager sets a transaction manager that will be used by the engine to start and submit transactions.
# Constants
ErrAlreadyExists indicates, that whatever was meant to be created, already exists, and therefore, the new thing cannot be created.
ErrUnsupported indicates that a requested feature is explicitely not supported.
# Structs
Engine is the component that is used to evaluate commands.
ExecutionContext is a context that is passed down throughout a complete evaluation.
Table is a representation of an on-disk table used by the engine.