Using the filter at the top of the page, you can find nodes based on
Execute the query by clicking the search button
or hitting CTRL-ENTER in the query field.Hitting ALT-ENTER will execute the query and also load the first result into the node editors.
A special syntax to find nodes and relationships, fast!
The quickest way to get a feel for Commander Queries is to watch this YouTube video:
Commander queries are designed to be the fastest way to find nodes and relationships with the least amount of keystrokes necessary. They are parsed based on your database, the node labels, relationship types and property keys you have stored in the graph.
user username netbiz
(u:User)
(u:User) WHERE u.username
The resulting CQL for this Commander query would look like this:
MATCH (u:User) WHERE u.username='netbiz' RETURN u
A more advanced example:
transaction created ldt(2023-01-01).. in account of user 2
supervisor active true user username ~netbiz
(t:Transaction) WHERE t.created>=localdatetime('2023-01-01')
(t:Transaction)-[:IN]->(a:Account)
(a:Account)-[:OF]->(u:User)
The resulting CQL for this Commander query would look like this:
MATCH (t:Transaction)-[:IN]->(a:Account)-[:OF]->(u:User)-[s:SUPERVISOR]-(u2:User)
WHERE t.created >= localdatetime('2023-01-01')
AND (u.uid = 2 OR u.username = 2 OR u.number = 2)
AND s.active = true
AND u2.username =~ '(?i).*netbiz.*'
RETURN t, a, u, u2
This shows how quickly you can enter complex graph queries using the Commander Query syntax. For more details and hands-on demos watch the video above.
If you know the node’s ID (=neo4j internal object ID), you can simply enter the ID in the query field without any Cypher statement.
You can also enter multiple IDs separated by comma(s) to quickly open a set of nodes.
MATCH (n:Label) WHERE n.property='value' RETURN n
Enter a query using the Cypher query language and RETURN one or more nodes.
You can get a quick query statement matching a label by clicking the label button
and then one of the labels in your DB. This inserts a default query and selects the WHERE portion so you can easily hit the delete key and and CTRL-ENTER to find ALL nodes based on the selected label.You can save and recall frequently used queries as bookmarks by pressing the
icon.Your search history can be viewed - and searches recalled - from the History menu
You can create a new node using the “Create Node” option from the main menu (3 dots in the top left corner of the neo4j Commander window).