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

Function test_constraint

nodedb-crdt/src/dead_letter.rs:232–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230 use crate::constraint::{Constraint, ConstraintKind};
231
232 fn test_constraint() -> Constraint {
233 Constraint {
234 name: "users_email_unique".into(),
235 collection: "users".into(),
236 field: "email".into(),
237 kind: ConstraintKind::Unique,
238 }
239 }
240
241 #[test]
242 fn enqueue_and_dequeue() {

Callers 4

enqueue_and_dequeueFunction · 0.85
capacity_enforcedFunction · 0.85
drain_by_peerFunction · 0.85
remove_by_idFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected