Crate qualia

Crate qualia 

Source
Expand description

A document store with a flexible query language and built-in undo support.

Modules§

object
query
query_builder
store

Macros§

object
Convenience macro for creating an Object.

Structs§

CachedMapping
A set of results of querying a given query and mapping the results, as returned by [Store::cached_query()].
Checkpoint
A set of not-yet-committed changes to a Store, as created by Store::checkpoint().
Collection
A reference to the set of objects matching a given query, as returned by Store::all() or Store::query().
MutableCollection
A reference to a modifiable set of objects matching a given query, as returned by Checkpoint::query().
Store
A set of objects stored on disk.

Enums§

ConversionError
All errors that may be returned from a Store.
PropValue
All possible types that can be stored inside an Object.
StoreError
All errors that may be returned from a Store.

Constants§

Q
A blank QueryBuilder object, to be used instead of constructing new QueryBuilder objects.

Traits§

ObjectShape
A type that can be converted to and from an object.
ObjectShapePlain
A type that can be converted to and from an object without needing a store.
ObjectShapeWithId
A type that can be converted to and from an object, with its object_id.
Queryable

Type Aliases§

CheckpointId
Object
A set of properties that may be stored in a Store.
Result
Convenience type for possibly returning a StoreError.

Derive Macros§

ObjectShape
Automatically translate between properties of Qualia objects and fields of structs.