@@ -207,6 +207,9 @@ where:
207
207
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
208
208
* ` bucket_id ` (` ?number|cdata ` ) - bucket ID
209
209
* ` fields ` (` ?table ` ) - field names for getting only a subset of fields
210
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
211
+ vshard router instance. Set this parameter if your space is not
212
+ a part of the default vshard cluster
210
213
211
214
Returns metadata and array contains one inserted row, error.
212
215
@@ -259,6 +262,9 @@ where:
259
262
* ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
260
263
rollback on a storage, where the operation is failed, report error
261
264
about what tuples were rollback, default is ` false `
265
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
266
+ vshard router instance. Set this parameter if your space is not
267
+ a part of the default vshard cluster
262
268
263
269
Returns metadata and array with inserted rows, array of errors.
264
270
Each error object can contain field ` operation_data ` .
@@ -393,6 +399,9 @@ where:
393
399
* ` prefer_replica ` (` ?boolean ` ) - if ` true ` then the preferred target is one of
394
400
the replicas
395
401
* ` balance ` (` ?boolean ` ) - use replica according to vshard load balancing policy
402
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
403
+ vshard router instance. Set this parameter if your space is not
404
+ a part of the default vshard cluster
396
405
397
406
Returns metadata and array contains one row, error.
398
407
@@ -426,6 +435,9 @@ where:
426
435
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
427
436
* ` bucket_id ` (` ?number|cdata ` ) - bucket ID
428
437
* ` fields ` (` ?table ` ) - field names for getting only a subset of fields
438
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
439
+ vshard router instance. Set this parameter if your space is not
440
+ a part of the default vshard cluster
429
441
430
442
Returns metadata and array contains one updated row, error.
431
443
@@ -458,6 +470,9 @@ where:
458
470
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
459
471
* ` bucket_id ` (` ?number|cdata ` ) - bucket ID
460
472
* ` fields ` (` ?table ` ) - field names for getting only a subset of fields
473
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
474
+ vshard router instance. Set this parameter if your space is not
475
+ a part of the default vshard cluster
461
476
462
477
Returns metadata and array contains one deleted row (empty for vinyl), error.
463
478
@@ -492,6 +507,9 @@ where:
492
507
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
493
508
* ` bucket_id ` (` ?number|cdata ` ) - bucket ID
494
509
* ` fields ` (` ?table ` ) - field names for getting only a subset of fields
510
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
511
+ vshard router instance. Set this parameter if your space is not
512
+ a part of the default vshard cluster
495
513
496
514
Returns inserted or replaced rows and metadata or nil with error.
497
515
@@ -544,6 +562,9 @@ where:
544
562
* ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
545
563
rollback on a storage, where the operation is failed, report error
546
564
about what tuples were rollback, default is ` false `
565
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
566
+ vshard router instance. Set this parameter if your space is not
567
+ a part of the default vshard cluster
547
568
548
569
Returns metadata and array with inserted/replaced rows, array of errors.
549
570
Each error object can contain field ` operation_data ` .
@@ -676,6 +697,9 @@ where:
676
697
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
677
698
* ` bucket_id ` (` ?number|cdata ` ) - bucket ID
678
699
* ` fields ` (` ?table ` ) - field names for getting only a subset of fields
700
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
701
+ vshard router instance. Set this parameter if your space is not
702
+ a part of the default vshard cluster
679
703
680
704
Returns metadata and empty array of rows or nil, error.
681
705
@@ -733,6 +757,9 @@ where:
733
757
* ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
734
758
rollback on a storage, where the operation is failed, report error
735
759
about what tuples were rollback, default is ` false `
760
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
761
+ vshard router instance. Set this parameter if your space is not
762
+ a part of the default vshard cluster
736
763
737
764
Returns metadata and array of errors.
738
765
Each error object can contain field ` operation_data ` .
@@ -869,6 +896,9 @@ where:
869
896
* ` prefer_replica ` (` ?boolean ` ) - if ` true ` then the preferred target is one of
870
897
the replicas
871
898
* ` balance ` (` ?boolean ` ) - use replica according to vshard load balancing policy
899
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
900
+ vshard router instance. Set this parameter if your space is not
901
+ a part of the default vshard cluster
872
902
873
903
874
904
Returns metadata and array of rows, error.
@@ -1007,6 +1037,9 @@ where:
1007
1037
* ` space_name ` (` string ` ) - name of the space
1008
1038
* ` opts ` :
1009
1039
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
1040
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
1041
+ vshard router instance. Set this parameter if your space is not
1042
+ a part of the default vshard cluster
1010
1043
1011
1044
Returns true or nil with error.
1012
1045
@@ -1040,6 +1073,9 @@ where:
1040
1073
* ` space_name ` (` string ` ) - name of the space
1041
1074
* ` opts ` :
1042
1075
* ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
1076
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
1077
+ vshard router instance. Set this parameter if your space is not
1078
+ a part of the default vshard cluster
1043
1079
1044
1080
Returns number or nil with error.
1045
1081
@@ -1089,6 +1125,7 @@ where:
1089
1125
* ` opts ` :
1090
1126
* ` timeout ` (` ?number ` ) - maximum time (in seconds, default: 2) to wait for response from
1091
1127
cluster instances.
1128
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or vshard router instance.
1092
1129
1093
1130
Returns storages status table by instance UUID or nil with error. Status table fields:
1094
1131
* ` status ` contains a string representing the status:
@@ -1158,6 +1195,9 @@ where:
1158
1195
* ` balance ` (` ?boolean ` ) - use replica according to
1159
1196
[ vshard load balancing policy] ( https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_api/#router-api-call ) ,
1160
1197
default value is ` false `
1198
+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or
1199
+ vshard router instance. Set this parameter if your space is not
1200
+ a part of the default vshard cluster
1161
1201
1162
1202
``` lua
1163
1203
crud .count (' customers' , {{' ==' , ' age' , 35 }})
0 commit comments