Managing Data
Create, read, update, and delete documents in Studio
Viewing Documents
- Navigate to a database from the dashboard
- Click on a collection to view documents
- Click the expand icon to see full document content
- Use search to filter documents
Creating Documents
- Click "New Document" button
- Enter valid JSON in the editor
- Green indicator = valid JSON
- Red indicator = invalid JSON
- Click "Create" to save
Example document:
{
"name": "Alice",
"email": "alice@example.com",
"age": 30
}The _id field is auto-generated if not provided.
Editing Documents
- Click "View" on any document
- Click "Edit" to enter edit mode
- Modify the JSON content
- Click "Save Changes"
You cannot change the _id field during editing.
Deleting Documents
- Click "Delete" on any document
- Confirm in the alert dialog
- Document is permanently removed
Search and Filter
The search bar filters documents by:
- Matching any string field
- Case-insensitive search
- Real-time results
For complex queries, use the CLI:
toollessdb query mydb users -f '{"age":{"$gt":25}}'JSON Validation
The editor validates JSON in real-time:
- Green dot - Valid JSON
- Red dot - Invalid JSON
Common errors:
- Missing closing brackets
- Trailing commas
- Unquoted keys
- Single quotes (use double quotes)
Tips
- Use
Tabfor indentation in the editor - Copy documents using the copy button
- Refresh to see latest data
- Use keyboard shortcuts for efficiency