Crate turingdb_helpers

Source
Expand description

TuringDB-Helpers is a crate that make it easier to interact with the TuringDB server and is recommended for application developers

§#Usage

Cargo.toml file

[dependencies]
bincode = #add latest version here
turingdb-helpers = #add latest version here

Structs§

DbQuery
Handles database queries
DocumentQuery
Handles document queries
FieldData
Handles commands queries Contains the structure of a value represented by a key
FieldQuery
Handles field queries
RepoQuery
Handles repo queries

Enums§

TuringOp
Handles commands queries Commands to perform on the repo and its contents by the repo owner known as SuperUser

Traits§

TuringPacket
Handles traits queries Ensures that a data structure is converted to bytes before it is sent over the wire

Functions§

from_op
Handles commands queries Converts a database operation to a header using the TuringOp enum
to_op
Handles commands queries Converts a database operation from a header to TuringOp enum variant