nodedb 0.3.0

Local-first, real-time, edge-to-cloud hybrid database for multi-modal workloads
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: BUSL-1.1

//! Strict document encoding/decoding: Value ↔ Binary Tuple.
//!
//! All internal encoding uses `nodedb_types::Value` directly — no JSON intermediary.
//! JSON is only produced at the read boundary (`binary_tuple_to_json`) for pgwire clients.

mod coerce;
mod decode;
mod encode;

pub(super) use decode::{binary_tuple_to_json, binary_tuple_to_msgpack, binary_tuple_to_value};
pub(super) use encode::{
    bytes_to_binary_tuple, bytes_to_binary_tuple_bitemporal, value_to_binary_tuple,
    value_to_binary_tuple_bitemporal,
};