nodedb 0.3.0

Local-first, real-time, edge-to-cloud hybrid database for multi-modal workloads
Documentation
// SPDX-License-Identifier: BUSL-1.1

//! `CREATE COLLECTION` DDL — split by concern.
//!
//! - [`handler`] — the `create_collection` pgwire entry point
//! - [`register`] — Data Plane `DocumentOp::Register` dispatch
//!   (leader-side + applier-side variants)
//! - [`enforcement`] — parse WITH BALANCED / materialized_sum /
//!   generated-column helpers
//!
//! Public API stays at `super::create::*` via the re-exports
//! below — no callers outside this file need to change.

pub mod build;
pub mod enforcement;
pub mod engine_option;
pub mod handler;
pub mod register;
pub mod request;
pub mod table;

#[cfg(test)]
mod tests;

pub use handler::create_collection;
pub use register::{
    dispatch_register_by_name, dispatch_register_from_stored, dispatch_register_if_needed,
};
pub use request::CreateCollectionRequest;
pub use table::create_table;