MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / test_schema

Function test_schema

nodedb/src/data/executor/strict_format/coerce.rs:348–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

346 use nodedb_types::columnar::{ColumnDef, StrictSchema};
347
348 fn test_schema() -> StrictSchema {
349 StrictSchema {
350 columns: vec![
351 ColumnDef::required("id", ColumnType::String).with_primary_key(),
352 ColumnDef::required("name", ColumnType::String),
353 ColumnDef::nullable("age", ColumnType::Int64),
354 ],
355 version: 1,
356 dropped_columns: Vec::new(),
357 bitemporal: false,
358 }
359 }
360
361 #[test]
362 fn roundtrip_via_value() {

Calls

no outgoing calls

Tested by

no test coverage detected