Skip to main content

SDK Support

Beta

This feature is in beta. Core behavior is stable, but some APIs or configuration may change before general availability.

This page compares the product surface of EdgeBase Database across the Client SDK and the Admin SDK.

Scope

This table is about what you can do from each SDK surface, not package layout. For exact language and package availability, see SDK Layer Matrix. For the latest cross-runtime admin certification, see SDK Verification Matrix.

CapabilityClient SDKAdmin SDKNotes
CRUD and query buildersYesYesclient.db() respects access rules. admin.db() uses a Service Key and bypasses them.
Batch operationsYesYesBoth surfaces expose batch helpers, but exact helper coverage can vary by language.
Database Subscriptions (onSnapshot())YesNoLive query subscriptions ride the client database subscription WebSocket surface.
Access rule enforcementYesNoAdmin requests bypass app-level database access rules by design.
Raw SQLNoYesUse admin.sql() for privileged SQL access.
Direct DB block and privileged cross-tenant accessNoYesIntended for backend jobs, migrations, moderation, and server workflows.

Use Client SDK When

  • you are building app-facing CRUD flows
  • you need onSnapshot() or user-token-aware reads and writes
  • you want access rules enforced automatically

Use Admin SDK When

  • you need Service Key-backed backend jobs
  • you need raw SQL or privileged DB block access
  • you are running moderation, migrations, or maintenance tasks