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

Function register

nodedb/tests/document_bitemporal_dml.rs:23–27  ·  view source on GitHub ↗
(sparse: &SparseEngine)

Source from the content-addressed store, hash-verified

21}
22
23fn register(sparse: &SparseEngine) -> DocumentEngine<'_> {
24 let mut e = DocumentEngine::new(sparse, 1);
25 e.register_collection(CollectionConfig::new("c").with_bitemporal(true));
26 e
27}
28
29fn wall_ms() -> i64 {
30 std::time::SystemTime::now()

Calls 2

register_collectionMethod · 0.80
with_bitemporalMethod · 0.80

Tested by

no test coverage detected