November 2022
Intermediate to advanced
294 pages
5h 58m
English
Obviously, we’ve barely touched upon the full power of Cypher for building and querying graph stores and its special capabilities to query over paths within the graph. But what about the data models that can be supported in property graphs? Well, Cypher provides some strong data management facilities—schemas and data typing.
One aspect that we haven’t discussed yet is schemas. Cypher includes support for managing both indexes and constraints over labels, which together constitute a property graph schema.
Indexes (both simple and composite) are used for expediting query lookup. For nodes with a given label, an index can be created on a single property (simple) or a number of properties (composite). ...