You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Bucket ID can be specified using `opts.bucket_id` for all operations
* For operations that accepts tuple/object bucket ID can be specified as
tuple/object field as well as `opts.bucket_id` value
*`timeout` (`?number`) - `vshard.call` timeout (in seconds)
116
+
*`bucket_id` (`?number|cdata`) - bucket ID
111
117
112
118
Returns metadata and array contains one updated row, error.
113
119
@@ -138,6 +144,7 @@ where:
138
144
*`key` (`any`) - primary key value
139
145
*`opts`:
140
146
*`timeout` (`?number`) - `vshard.call` timeout (in seconds)
147
+
*`bucket_id` (`?number|cdata`) - bucket ID
141
148
142
149
Returns metadata and array contains one deleted row (empty for vinyl), error.
143
150
@@ -170,6 +177,7 @@ where:
170
177
*`tuple` / `object` (`table`) - tuple/object to insert or replace exist one
171
178
*`opts`:
172
179
*`timeout` (`?number`) - `vshard.call` timeout (in seconds)
180
+
*`bucket_id` (`?number|cdata`) - bucket ID
173
181
174
182
Returns inserted or replaced rows and metadata or nil with error.
175
183
@@ -216,6 +224,7 @@ where:
216
224
*`operations` (`table`) - update [operations](https://www.tarantool.io/en/doc/latest/reference/reference_lua/box_space/#box-space-update) if there is an existing tuple which matches the key fields of tuple
217
225
*`opts`:
218
226
*`timeout` (`?number`) - `vshard.call` timeout (in seconds)
227
+
*`bucket_id` (`?number|cdata`) - bucket ID
219
228
220
229
Returns metadata and empty array of rows or nil, error.
221
230
@@ -269,6 +278,8 @@ where:
269
278
*`after` (`?table`) - tuple after which objects should be selected
270
279
*`batch_size` (`?number`) - number of tuples to process per one request to storage
271
280
*`timeout` (`?number`) - `vshard.call` timeout (in seconds)
281
+
*`bucket_id` (`?number|cdata`) - bucket ID
282
+
(is used when select by full primary key is performed)
0 commit comments