Skip to content

Commit

Permalink
Merge pull request #142 from tigrisdata/main
Browse files Browse the repository at this point in the history
Beta release
  • Loading branch information
efirs authored Oct 10, 2022
2 parents 6259bed + 96cb7e8 commit bd0c855
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ message DeleteRequestOptions {
// A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set
// this option to 'ci' that will apply to all the text fields in the filters.
Collation collation = 2;
// Limit the number of documents to be deleted
int64 limit = 3;
}

message DeleteRequest {
Expand Down Expand Up @@ -267,6 +269,8 @@ message UpdateRequestOptions {
// A collation allows you to specify string comparison rules. Default is case-sensitive, to override it you can set
// this option to 'ci' that will apply to all the text fields in the filters.
Collation collation = 2;
// Limit the number of documents to be updated
int64 limit = 3;
}

message UpdateRequest {
Expand Down
8 changes: 8 additions & 0 deletions server/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1365,6 +1365,10 @@ components:
$ref: '#/components/schemas/WriteOptions'
collation:
$ref: '#/components/schemas/Collation'
limit:
type: integer
description: Limit the number of documents to be deleted
format: int64
description: Additional options for deleted requests.
DeleteResponse:
type: object
Expand Down Expand Up @@ -2210,6 +2214,10 @@ components:
$ref: '#/components/schemas/WriteOptions'
collation:
$ref: '#/components/schemas/Collation'
limit:
type: integer
description: Limit the number of documents to be updated
format: int64
description: Additional options for update requests.
UpdateResponse:
type: object
Expand Down

0 comments on commit bd0c855

Please sign in to comment.