Skip to content

Commit

Permalink
readme: add default mode info in select section
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtDu authored and DifferentialOrange committed Nov 11, 2022
1 parent 1c6a893 commit 704bd6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ where:
* `bucket_id` (`?number|cdata`) - bucket ID
* `timeout` (`?number`) - `vshard.call` timeout (in seconds)
* `mode` (`?string`, `read` or `write`) - if `write` is specified then `get` is
performed on master
performed on master, default value is `read`
* `prefer_replica` (`?boolean`) - if `true` then the preferred target is one of
the replicas
* `balance` (`?boolean`) - use replica according to vshard load balancing policy
Expand Down Expand Up @@ -892,7 +892,7 @@ where:
* `fullscan` (`?boolean`) - if `true` then a critical log entry will be skipped
on potentially long `select`, see [avoiding full scan](doc/select.md#avoiding-full-scan).
* `mode` (`?string`, `read` or `write`) - if `write` is specified then `select` is
performed on master
performed on master, default value is `read`
* `prefer_replica` (`?boolean`) - if `true` then the preferred target is one of
the replicas
* `balance` (`?boolean`) - use replica according to vshard load balancing policy
Expand Down

0 comments on commit 704bd6f

Please sign in to comment.