See how you stack up against top hiring criteria for the role in 2025.
Compare against 1000+ live job postings
Identify critical technical skill gaps
Get a personalized improvement roadmap
No signup required, takes less than 30 sec
Introduction
RedisGraph helps implement the subset of Cypher language, which continues its development and advancement. This article is based on the reference for Cypher Query Language.
Patterns
These are fully supported and are of different types, as listed below.
Structural Types
Nodes
Relationships
Path Variables (defined as an alternating sequence of relationships and nodes)
Composite Types
Lists
Maps
Temporal Types (classified into the category of unsupported patterns)
Literal Types
Numeric Types
Booleans
String Literals
Octal and Hexadecimal Numerics
Clauses
The various types of clauses are listed below.
Reading Clauses
MATCH
OPTIONAL MATCH
Projecting Clauses
RETURN
WITH
UNWIND
AS
Writing Clauses
CREATE
DELETE
SET
REMOVE(classified into the category of unsupported clauses)
Reading/Writing Clauses
MERGE
CALL
Functions
The functions can be classified into five broad categories.
Scalar Functions
id
labels
type
timestamp
startNode
endNode
Aggregating Functions
avg
sum
collect
count
max
min
Math Functions
abs
floor
sign
round
rand
List Functions
head
range
reverse
size
tail
String Functions
right
left
trim
reverse
substring
Predicate Functions
exists
any
all
single
none
Operators
The various operators supported by Redis Query Language are listed below.
Mathematical Operators
Multiplication
Addition
Subtraction
Division
Modulo
String Operators
STARTS WITH
ENDS WITH
CONTAINS
Boolean Operators
AND
OR
NOT
XOR
Non-cipher Queries
GRAPH.EXPLAIN: This command helps in printing the execution plan of a printed query.
GRAPH.DELETE: This command helps in removing a graph and keys associated with it.
Frequently Asked Questions
Name the different types of clauses supported by Redis Query Language.
The various types of clauses are reading clauses, writing clauses, projecting clauses, and reading/writing clauses.
Explain the purpose of GRAPH.EXPLAIN command.
This command helps to print the execution plan of a printed query.
List down the various mathematical operators
The various mathematical operators are multiplication, addition, subtraction, division, and modulo.
Explain the purpose of GRAPH.DELETE command.
This command helps to remove a graph and keys associated with it.
Name the different types of Predicate Functions
The different types of predicate functions are exists, any, all, single, and none.
Conclusion
After reading about Cypher Query Language, are you not feeling excited to read/explore more articles on Cypher Coverage? Don't worry; Coding Ninjas has you covered.
However, you may want to pursue our premium courses to give your job an advantage over the competition!
With our Coding Ninjas StudioGuided Path, you may learn about Data Structures and Algorithms, Competitive Programming, JavaScript, System Design, and more! Check out the mock test series and participate in the contests on Coding Ninjas Studio if you want to put your coding talents to the test! However, if you've just started school and are looking for answers to concerns raised by digital behemoths such as Amazon, Microsoft, Uber, and others. As part of your placement preparations, you must evaluate the obstacles, interview experiences, and interview package in this case. Please vote for our blogs if you find them valuable and exciting.