# Functions

CastConversion is a ConversionFunc that casts the value to the target type.
No description provided by the author
No description provided by the author
LosslessConversion is a ConversionFunc that only converts numbers if there is no precision loss in the process.
New initializes the DB using the given engine.
No description provided by the author
NewFieldConstraints takes user-defined field constraints, validates them, infers additional constraints if needed, and returns a valid FieldConstraints type that can be assigned to a table.
NewIndex creates an index that associates values with a list of keys.

# Variables

ErrIndexDuplicateValue is returned when a value is already associated with a key.
ErrIndexWrongArity is returned when trying to index more values that what an index supports.

# Structs

Catalog holds all table and index informations.
A Database manages a list of tables in an engine.
FieldConstraint describes constraints on a particular field.
An Index associates encoded values with keys.
IndexInfo holds the configuration of an index.
No description provided by the author
A Table represents a collection of documents.
TableInfo contains information about a table.
Transaction represents a database transaction.
TxOptions are passed to Begin to configure transactions.

# Type aliases

ConversionFunc is called when the type of a value is different than the expected type and the value needs to be converted.
FieldConstraints is a list of field constraints.
No description provided by the author
No description provided by the author