Skip to main content

SAMPLE_QUERY

Constant SAMPLE_QUERY 

Source
pub const SAMPLE_QUERY: &str = "\
MATCH (p:Person {id: 'person-01'})-[r:FIT]->(proj:Project)
RETURN p, proj, r.score AS score
ORDER BY score DESC, proj";
Expand description

Sample query printed by mushroomdb demo and executed against the fresh store.

Scoped to one person so ORDER BY score DESC is visibly ranked (a global LIMIT 5 would be five 1.0 home-project hits).