Type Definition cudb::query::ConstraintDocument[][src]

pub type ConstraintDocument = HashMap<FieldPath, Constraint>;
Expand description

Document type modeling query constraints.

Trait Implementations

Check if a Document matches the constraints. If a Document is missing a Value, it automatically doesn’t match the Constraint.

Constructs a reduced ConstraintDocument by removing the fields that are part of the IndexSchema. Read more