Skip to content

Commit 704bd6f

Browse files
ArtDuDifferentialOrange
authored andcommitted
readme: add default mode info in select section
1 parent 1c6a893 commit 704bd6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ where:
395395
* `bucket_id` (`?number|cdata`) - bucket ID
396396
* `timeout` (`?number`) - `vshard.call` timeout (in seconds)
397397
* `mode` (`?string`, `read` or `write`) - if `write` is specified then `get` is
398-
performed on master
398+
performed on master, default value is `read`
399399
* `prefer_replica` (`?boolean`) - if `true` then the preferred target is one of
400400
the replicas
401401
* `balance` (`?boolean`) - use replica according to vshard load balancing policy
@@ -892,7 +892,7 @@ where:
892892
* `fullscan` (`?boolean`) - if `true` then a critical log entry will be skipped
893893
on potentially long `select`, see [avoiding full scan](doc/select.md#avoiding-full-scan).
894894
* `mode` (`?string`, `read` or `write`) - if `write` is specified then `select` is
895-
performed on master
895+
performed on master, default value is `read`
896896
* `prefer_replica` (`?boolean`) - if `true` then the preferred target is one of
897897
the replicas
898898
* `balance` (`?boolean`) - use replica according to vshard load balancing policy

0 commit comments

Comments
 (0)