File tree Expand file tree Collapse file tree 10 files changed +34
-15
lines changed
sdk/data_cosmos/src/operations Expand file tree Collapse file tree 10 files changed +34
-15
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ operation! {
1919 ?max_item_count: MaxItemCount ,
2020 ?a_im: ChangeFeed ,
2121 ?if_match_condition: IfMatchCondition ,
22- ?consistency_level: ConsistencyLevel
22+ ?consistency_level: ConsistencyLevel ,
23+ ?continuation: Continuation ,
2324}
2425
2526impl ListAttachmentsBuilder {
@@ -49,6 +50,7 @@ impl ListAttachmentsBuilder {
4950 & mut request,
5051 ) ;
5152
53+ let continuation = continuation. or ( this. continuation ) ;
5254 request. insert_headers ( & continuation) ;
5355
5456 let response = this
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ operation! {
1111 ListCollections ,
1212 client: DatabaseClient ,
1313 ?max_item_count: MaxItemCount ,
14- ?consistency_level: ConsistencyLevel
14+ ?consistency_level: ConsistencyLevel ,
15+ ?continuation: Continuation ,
1516}
1617
1718impl ListCollectionsBuilder {
@@ -26,6 +27,7 @@ impl ListCollectionsBuilder {
2627 }
2728 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
2829
30+ let continuation = continuation. or ( this. continuation ) ;
2931 request. insert_headers ( & continuation) ;
3032
3133 let response = this
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ operation! {
1111 ListDatabases ,
1212 client: CosmosClient ,
1313 ?max_item_count: MaxItemCount ,
14- ?consistency_level: ConsistencyLevel
14+ ?consistency_level: ConsistencyLevel ,
15+ ?continuation: Continuation ,
1516}
1617
1718impl ListDatabasesBuilder {
@@ -27,6 +28,9 @@ impl ListDatabasesBuilder {
2728 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
2829 request. insert_headers ( & continuation) ;
2930
31+ let continuation = continuation. or ( this. continuation ) ;
32+ request. insert_headers ( & continuation) ;
33+
3034 let response = this
3135 . client
3236 . pipeline ( )
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ operation! {
1919 ?a_im: ChangeFeed ,
2020 ?if_match_condition: IfMatchCondition ,
2121 ?consistency_level: ConsistencyLevel ,
22- ?partition_range_id: PartitionRangeId
22+ ?partition_range_id: PartitionRangeId ,
23+ ?continuation: Continuation ,
2324}
2425
2526impl ListDocumentsBuilder {
@@ -47,6 +48,8 @@ impl ListDocumentsBuilder {
4748 req. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
4849 req. insert_headers ( & this. a_im . unwrap_or_default ( ) ) ;
4950 req. insert_headers ( & this. partition_range_id ) ;
51+
52+ let continuation = continuation. or ( this. continuation ) ;
5053 req. insert_headers ( & continuation) ;
5154
5255 let response = this
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ operation! {
1010 ListPermissions ,
1111 client: UserClient ,
1212 ?max_item_count: MaxItemCount ,
13- ?consistency_level: ConsistencyLevel
13+ ?consistency_level: ConsistencyLevel ,
14+ ?continuation: Continuation ,
1415}
1516
1617impl ListPermissionsBuilder {
@@ -33,6 +34,7 @@ impl ListPermissionsBuilder {
3334 }
3435 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
3536
37+ let continuation = continuation. or ( this. continuation ) ;
3638 request. insert_headers ( & continuation) ;
3739
3840 let response = this
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ operation! {
1414 ListStoredProcedures ,
1515 client: CollectionClient ,
1616 ?max_item_count: MaxItemCount ,
17- ?consistency_level: ConsistencyLevel
17+ ?consistency_level: ConsistencyLevel ,
18+ ?continuation: Continuation ,
1819}
1920
2021impl ListStoredProceduresBuilder {
@@ -37,6 +38,7 @@ impl ListStoredProceduresBuilder {
3738 }
3839 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
3940
41+ let continuation = continuation. or ( this. continuation ) ;
4042 request. insert_headers ( & continuation) ;
4143
4244 let response = this
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ operation! {
1313 client: CollectionClient ,
1414 ?if_match_condition: IfMatchCondition ,
1515 ?max_item_count: MaxItemCount ,
16- ?consistency_level: ConsistencyLevel
16+ ?consistency_level: ConsistencyLevel ,
17+ ?continuation: Continuation ,
1718}
1819
1920impl ListTriggersBuilder {
@@ -37,6 +38,7 @@ impl ListTriggersBuilder {
3738 }
3839 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
3940
41+ let continuation = continuation. or ( this. continuation ) ;
4042 request. insert_headers ( & continuation) ;
4143
4244 let response = this
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ operation! {
1818 client: CollectionClient ,
1919 ?if_match_condition: IfMatchCondition ,
2020 ?max_item_count: MaxItemCount ,
21- ?consistency_level: ConsistencyLevel
21+ ?consistency_level: ConsistencyLevel ,
22+ ?continuation: Continuation ,
2223}
2324
2425impl ListUserDefinedFunctionsBuilder {
@@ -42,6 +43,7 @@ impl ListUserDefinedFunctionsBuilder {
4243 }
4344 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
4445
46+ let continuation = continuation. or ( this. continuation ) ;
4547 request. insert_headers ( & continuation) ;
4648
4749 let response = this
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ operation! {
1515 ListUsers ,
1616 client: DatabaseClient ,
1717 ?max_item_count: MaxItemCount ,
18- ?consistency_level: ConsistencyLevel
18+ ?consistency_level: ConsistencyLevel ,
19+ ?continuation: Continuation ,
1920}
2021
2122impl ListUsersBuilder {
@@ -34,9 +35,8 @@ impl ListUsersBuilder {
3435 }
3536 request. insert_headers ( & this. max_item_count . unwrap_or_default ( ) ) ;
3637
37- if let Some ( ref c) = continuation {
38- request. insert_headers ( c) ;
39- }
38+ let continuation = continuation. or ( this. continuation ) ;
39+ request. insert_headers ( & continuation) ;
4040
4141 let response = this
4242 . client
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ operation! {
2929 ?parallelize_cross_partition_query: ParallelizeCrossPartition ,
3030 ?query_cross_partition: QueryCrossPartition ,
3131 ?partition_range_id: PartitionRangeId ,
32+ ?continuation: Continuation ,
3233 #[ skip]
3334 partition_key_serialized: String
3435}
@@ -85,9 +86,8 @@ impl QueryDocumentsBuilder {
8586 ) ;
8687 }
8788
88- if let Some ( ref c) = continuation {
89- request. insert_headers ( c) ;
90- }
89+ let continuation = continuation. or ( this. continuation ) ;
90+ request. insert_headers ( & continuation) ;
9191
9292 let response = this
9393 . client
You can’t perform that action at this time.
0 commit comments