Skip to content
Drive Database
Docs
Search
Ctrl
K
Cancel
Home
Open app
Select theme
Dark
Light
Auto
Menu
Start here
Use your database from code
Quickstart
Concepts
Data model
Connection strings
Consistency and timing
Guides
Create, read, update, delete
Querying
Updating
Relations
Aggregation
Unique fields
Batches and transactions
Change streams
Handling errors
Any language (HTTP)
Zapier, Make and n8n
Frameworks and runtimes
Coming from MongoDB
Reference
Operators
Field types
Error codes
Limits
REST API
Overview
Read
Overview
Find documents
Find one document
Count documents
Distinct values of a field
Run an aggregation pipeline
List collections
Describe a collection
List indexes
Write
Overview
Insert a document
Insert documents
Update one document
Update documents
Replace a document
Delete one document
Delete documents
Update a document and return it
Delete a document and return it
Several writes, all or nothing
Schema
Overview
Create a collection
Drop a collection
Create an index (unique fields)
Drop an index
Realtime
Overview
Follow changes (Server-Sent Events)
SDK (TypeScript)
Classes
ArrayCursor
ChangeStream
Collection
Db
DriveDB
DriveDBError
FindCursor
Interfaces
BulkWriteResult
ChangeEvent
CollectionInfo
ConnectionInfo
DeleteResult
FieldDefinition
FieldInfo
FindOneAndUpdateOptions
FindOptions
IndexInfo
InsertManyResult
InsertOneResult
QuerySelector
ReadOptions
RootFilterOperators
SystemFields
UpdateFilter
UpdateOptions
UpdateResult
WriteOptions
Type Aliases
AnyBulkWriteOperation
Condition
Document
DriveDBErrorCode
DriveDBOptions
FieldType
Filter
OptionalId
Projection
Sort
SortDirection
WithId
Functions
isDuplicateKeyError
parseConnectionString
Home
Open app
Select theme
Dark
Light
Auto
Overview
Read
Section titled “Read”
Queries. Allowed with read-only keys.
Operations
Section titled “Operations”
POST
/v1/db/{dbId}/find
POST
/v1/db/{dbId}/findOne
POST
/v1/db/{dbId}/countDocuments
POST
/v1/db/{dbId}/distinct
POST
/v1/db/{dbId}/aggregate
POST
/v1/db/{dbId}/listCollections
POST
/v1/db/{dbId}/getSchema
POST
/v1/db/{dbId}/listIndexes
Made by
Faeiz Furqan