SaralDB Documentation v2.0
How can we help you build?
Comprehensive guides, API reference, benchmarks, and SDK tutorials for SaralDB.
Getting Started
Quick installation, CLI setup, and first connection.
Core Concepts
Documents, collections, indexing, and memory architecture.
Query API Reference
Find, Insert, Update, Delete, Aggregate, and Stream operators.
Security & RBAC
Authentication, TLS certificates, and permission roles.
Quick Start: Connecting with Node.js
Install the official driver via Bun or NPM:
bun add saraldb
Connect and query your cluster:
import { SaralClient } from "saraldb";
const db = new SaralClient({ endpoint: "localhost:7700" });
const users = await db.collection("users").find({ active: true });
console.log(users);