Welcome to our comprehensive guide on ArangoDB! This powerful database system is a versatile tool for building applications with speed and agility. In this tutorial, we'll explore the basics and dive deep into ArangoDB's features, giving you the knowledge to start your journey as a NoSQL developer.
ArangoDB is an open-source, multi-model database that supports key-value, document, and graph data structures. It's a NoSQL database designed to handle complex, interconnected data in a flexible and efficient manner.
ArangoDB stands out for several reasons:
Before we dive into examples, let's set up ArangoDB on your local machine.
ArangoDB supports three primary data models:
Let's start with a simple example using the key-value and document stores.
CREATE COLLECTION my_collection
INSERT INTO my_collection VALUES {"name": "John", "_key": "john_id"}In this example, we create a collection called my_collection and insert a key-value pair.
{
"_id": "person_1",
"name": "Jane",
"age": 25,
"city": "New York"
}In this example, we have a JSON-like document with properties name, age, and city.
What are the three primary data models in ArangoDB?
Stay tuned for our next lesson where we'll dive deeper into ArangoDB, explore the graph database, and provide practical examples to help you master this powerful NoSQL tool.
Happy learning, and welcome to the world of ArangoDB! 🎉