forked from ravendb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ Sometimes we need to update a large amount of documents answering certain criter | |
|
||
`UPDATE Users SET IsActive = 0 WHERE LastLogin < '2010-01-01'` | ||
|
||
This is usually not the case for NoSQL databases, where set based operations are not supported. RavenDB does support them, and by passing it a query and an operation definition. It will run the query and perform that operation on its results. | ||
This is usually not the case for NoSQL databases where set based operations are not supported. RavenDB does support them by passing it a query and an operation definition. It will run the query and perform that operation on its results. | ||
|
||
The same queries and indexes that are used for data retrieval are used for the set based operations. The syntax defining which documents to work on is exactly the same as you'd specified for those documents to be pulled from the store. | ||
|
||
|
@@ -18,7 +18,7 @@ In this page: | |
|
||
{PANEL: Syntax overview} | ||
|
||
### Sending patch request | ||
### Sending Patch Request | ||
|
||
{CODE [email protected] /} | ||
|
||
|
@@ -89,8 +89,7 @@ For indexes that are updated all the time, you can set the AllowStale field of Q | |
|
||
{WARNING: Patching and Concurrency} | ||
|
||
The patching of documents matching a specified query is run in batches of size 1024. RavenDB doesn't do concurrency checks during the operation | ||
so it can happen than a document has been updated or deleted meanwhile. | ||
The patching of documents matching a specified query is run in batches of size 1024. RavenDB doesn't do concurrency checks during the operation so it can happen than a document has been updated or deleted meanwhile. | ||
|
||
{WARNING/} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Documentation/4.0/Raven.Documentation.Pages/migration/server/snmp.markdown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters