Datasets separate your content from your schema, so you can experiment freely without ever touching production.
Isolated from production until you switch
Schema, shared across every dataset
Typical time to clone a dataset
Projects running multiple datasets
Data, decoupled
A dataset is a full copy of your content — separate from your schema, and separate from any branch — that you can point any environment at. Clone one from the Dashboard in a click, then run a locale, a staging environment, or a demo dataset side by side with production, on the same models.
$ cairn dataset list
production 4,213 docs
staging 4,213 docs
demo-eu 892 docsSwap at request time
Datasets are selected per-request, so a single deployment can serve production content, a staging dataset, or a locale-specific one — without redeploying or maintaining separate environments.
const posts = await cairn
.dataset('staging')
.collection('posts')
.find()Common uses
Keep translated content in its own dataset while sharing the same underlying schema.
Trial new content in an isolated dataset before it ever reaches production.
Give every environment, from local dev to staging, its own dataset to work against.
Clone a dataset and see how it fits into your workflow.