Commands: What are the commands?
Commands are a set of low level operations that can be used to manipulate data and change configuration on a server.
They are available in DocumentStore under DatabaseCommands and AsyncDatabaseCommands property.
IDatabaseCommands commands = store.DatabaseCommands;
IAsyncDatabaseCommands asyncCommands = store.AsyncDatabaseCommands;
Document commands
The following commands can be used to manipulate documents:
Index commands
The following commands can be used to manipulate indexes:
- PutIndex
- GetIndex
- GetIndexes
- GetIndexNames
- GetIndexMergeSuggestions
- DeleteIndex
- ResetIndex
- IndexHasChanged
- SetIndexLock
- SetIndexPriority
Transformer commands
The following commands can be used to manipulate transformers:
Attachment commands
The following commands can be used to manipulate attachments:
- PutAttachment
- GetAttachment
- GetAttachments
- HeadAttachment
- GetAttachmentHeadersStartingWith
- DeleteAttachment
- UpdateAttachmentMetadata
Patch commands
The following commands can be used to patch:
Query commands
The following commands can be used to query:
Batch commands
The following commands can be used to send commands in a batch:
Administrative commands
The following commands can be used to perform administrative tasks on a server: