@@ -207,6 +207,9 @@ where:
207207 * ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
208208 * ` bucket_id ` (` ?number|cdata ` ) - bucket ID
209209 * ` 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
210213
211214Returns metadata and array contains one inserted row, error.
212215
@@ -259,6 +262,9 @@ where:
259262 * ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
260263 rollback on a storage, where the operation is failed, report error
261264 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
262268
263269Returns metadata and array with inserted rows, array of errors.
264270Each error object can contain field ` operation_data ` .
@@ -393,6 +399,9 @@ where:
393399 * ` prefer_replica ` (` ?boolean ` ) - if ` true ` then the preferred target is one of
394400 the replicas
395401 * ` 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
396405
397406Returns metadata and array contains one row, error.
398407
@@ -426,6 +435,9 @@ where:
426435 * ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
427436 * ` bucket_id ` (` ?number|cdata ` ) - bucket ID
428437 * ` 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
429441
430442Returns metadata and array contains one updated row, error.
431443
@@ -458,6 +470,9 @@ where:
458470 * ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
459471 * ` bucket_id ` (` ?number|cdata ` ) - bucket ID
460472 * ` 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
461476
462477Returns metadata and array contains one deleted row (empty for vinyl), error.
463478
@@ -492,6 +507,9 @@ where:
492507 * ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
493508 * ` bucket_id ` (` ?number|cdata ` ) - bucket ID
494509 * ` 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
495513
496514Returns inserted or replaced rows and metadata or nil with error.
497515
@@ -544,6 +562,9 @@ where:
544562 * ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
545563 rollback on a storage, where the operation is failed, report error
546564 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
547568
548569Returns metadata and array with inserted/replaced rows, array of errors.
549570Each error object can contain field ` operation_data ` .
@@ -676,6 +697,9 @@ where:
676697 * ` timeout ` (` ?number ` ) - ` vshard.call ` timeout (in seconds)
677698 * ` bucket_id ` (` ?number|cdata ` ) - bucket ID
678699 * ` 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
679703
680704Returns metadata and empty array of rows or nil, error.
681705
@@ -733,6 +757,9 @@ where:
733757 * ` rollback_on_error ` (` ?boolean ` ) - any failed operation will lead to
734758 rollback on a storage, where the operation is failed, report error
735759 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
736763
737764Returns metadata and array of errors.
738765Each error object can contain field ` operation_data ` .
@@ -869,6 +896,9 @@ where:
869896 * ` prefer_replica ` (` ?boolean ` ) - if ` true ` then the preferred target is one of
870897 the replicas
871898 * ` 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
872902
873903
874904Returns metadata and array of rows, error.
@@ -1007,6 +1037,9 @@ where:
10071037* ` space_name ` (` string ` ) - name of the space
10081038* ` opts ` :
10091039 * ` 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
10101043
10111044Returns true or nil with error.
10121045
@@ -1040,6 +1073,9 @@ where:
10401073* ` space_name ` (` string ` ) - name of the space
10411074* ` opts ` :
10421075 * ` 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
10431079
10441080Returns number or nil with error.
10451081
@@ -1089,6 +1125,7 @@ where:
10891125* ` opts ` :
10901126 * ` timeout ` (` ?number ` ) - maximum time (in seconds, default: 2) to wait for response from
10911127 cluster instances.
1128+ * ` vshard_router ` (` ?string|table ` ) - Cartridge vshard group name or vshard router instance.
10921129
10931130Returns storages status table by instance UUID or nil with error. Status table fields:
10941131* ` status ` contains a string representing the status:
@@ -1158,6 +1195,9 @@ where:
11581195 * ` balance ` (` ?boolean ` ) - use replica according to
11591196 [ vshard load balancing policy] ( https://www.tarantool.io/en/doc/latest/reference/reference_rock/vshard/vshard_api/#router-api-call ) ,
11601197 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
11611201
11621202``` lua
11631203crud .count (' customers' , {{' ==' , ' age' , 35 }})
0 commit comments