Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Basic graph queries using Cypher in Neo4j.
// Create nodes
CREATE (a:Person {name: "Alice"}), (b:Person {name: "Bob"});
// Create relationship
MATCH (a:Person {name: "Alice"}), (b:Person {name: "Bob"})
CREATE (a)-[:FRIEND]->(b);
// Query
MATCH (p:Person)-[:FRIEND]->(f)
RETURN p.name, f.name;MongoDB Query Language (MQL) is a rich, expressive, and flexible query language used to interact with MongoDB, a document-oriented NoSQL database. MQL enables data retrieval, manipulation, aggregation, and management of JSON-like documents.
Origin & Creator
Created by MongoDB Inc. as part of the MongoDB ecosystem, MQL has evolved since MongoDB's initial release in 2009 to support modern NoSQL document database operations.
Industrial Note
MQL dominates applications requiring flexible schema design, real-time analytics, and scalable document storage. Its aggregation framework allows for complex data transformations, making it essential for modern web apps, microservices, and big data analytics pipelines.