Skip to content

Client Libraries

ORMDB provides official client libraries for Rust, TypeScript, and Python.

Available Clients

Language Package Transport ORM Adapters
Rust ormdb-client Native (nng) -
TypeScript @ormdb/client HTTP/JSON Prisma, Drizzle, TypeORM, Kysely, Sequelize
Python ormdb HTTP/JSON SQLAlchemy, Django

Client Comparison

Feature Rust TypeScript Python
Async support
Connection pooling
Type safety
Zero-copy serialization
Streaming (CDC)

Quick Start

cargo add ormdb-client ormdb-proto
use ormdb_client::{Client, ClientConfig};
use ormdb_proto::GraphQuery;

let client = Client::connect(ClientConfig::localhost()).await?;
let result = client.query(GraphQuery::new("User")).await?;
npm install @ormdb/client
import { OrmdbClient } from "@ormdb/client";

const client = new OrmdbClient("http://localhost:8080");
const result = await client.query("User");
pip install ormdb
from ormdb import OrmdbClient

client = OrmdbClient("http://localhost:8080")
result = client.query("User")

Detailed Guides