pub struct ShowConstraintsClause {
pub yields: YieldList,
pub where_expr: Option<Expr>,
pub type_filter: ConstraintTypeFilter,
pub stages: Vec<PageStage>,
}Expand description
SHOW [<type filter>] CONSTRAINTS [YIELD ...] [WHERE ...] (CIP-85’s
observation surface, needed by CIP-100 to expose a property type
constraint’s normalized propertyType; the <type filter> grammar is
CIP-62/CIP-64/CIP-74’s [ALL] [NODE|REL[ATIONSHIP]] [PROPERTY]? (UNIQUE[NESS]|KEY|EXIST[ENCE]|TYPE) surface). Mirrors
ShowFunctionsClause otherwise.
Fields§
§yields: YieldList§where_expr: Option<Expr>§type_filter: ConstraintTypeFilter§stages: Vec<PageStage>ORDER BY/SKIP/LIMIT written directly on the YIELD (before
any trailing WHERE) as part of the YIELD’s own paging
sub-grammar (CIP-74 filtering[8]/[9]), e.g. YIELD name ORDER BY name WHERE ... RETURN ... – distinct from a SHOW ... YIELD ...
followed by a separate top-level ORDER BY/RETURN ... ORDER BY
clause, which parses as its own StandaloneOrderBy/Return clause
instead and never populates this field.