Storage
Store anything.
Query everything.
38 storage capabilities through the ee.storage face. Objects, rows, vectors, files — one namespace, automatic replication, zero provisioning.
38
Storage capabilities
<1ms
KV read latency
99.999%
Durability
3
Regions replicated
Capabilities
Object Storage
S3-compatible object store with automatic CDN distribution and lifecycle policies.
Key-Value Store
Sub-millisecond reads and writes with TTL support, atomic counters, and pub/sub notifications.
Relational Database
Managed PostgreSQL with automatic migrations, connection pooling, and read replicas.
Vector Database
High-dimensional vector storage with ANN search, metadata filtering, and hybrid queries.
File System
POSIX-compatible virtual file system for serverless functions with persistent mounts.
CDN
Global edge caching with instant purge, custom domains, and automatic image optimization.
Backup & Snapshots
Point-in-time recovery, scheduled snapshots, and cross-region backup replication.
Replication
Multi-region data replication with configurable consistency levels and conflict resolution.
Code Example
Write once, read anywhere.
Write
import { ee } from "@vertebase/sdk";
// Store an object with metadata
await ee.storage.put({
bucket: "uploads",
key: "avatar/user-123.jpg",
body: imageBuffer,
contentType: "image/jpeg",
metadata: {
userId: "user-123",
processed: false,
},
});Query
// Query relational data with type safety
const { data } = await ee.storage.query({
table: "orders",
where: {
status: "pending",
created_at: { $gt: "2024-01-01" },
},
orderBy: { created_at: "desc" },
limit: 50,
});
console.log(data.rows);
// => [{ id: "ord_1", status: "pending", ... }]