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

Function delete_nonexistent_pk

nodedb-columnar/src/mutation/tests.rs:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68#[test]
69fn delete_nonexistent_pk() {
70 let mut engine = MutationEngine::new("test".into(), test_schema());
71
72 let err = engine.delete(&Value::Integer(999));
73 assert!(matches!(err, Err(ColumnarError::PrimaryKeyNotFound)));
74}
75
76#[test]
77fn update_row() {

Callers

nothing calls this directly

Calls 2

test_schemaFunction · 0.70
deleteMethod · 0.45

Tested by

no test coverage detected