Skip to content

Commit 8f86dcd

Browse files
authored
fix typos in connecting from your favorite language (#1876)
* fixes gh-1751
1 parent 5ba82bb commit 8f86dcd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

doc/getting_started/getting_started_go.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ To select a tuple from a space, use
130130
131131
resp, err = conn.Select("tester", "primary", 0, 1, tarantool.IterEq, []interface{}{4})
132132
133-
This selects a tuple by the primary key with ``offset`` = 0 and ``limit`` = 1
133+
This selects a tuple by the primary key with ``offset = 0`` and ``limit = 1``
134134
from a space named ``tester`` (in our example, this is the index named ``primary``,
135135
based on the ``id`` field of each tuple).
136136

@@ -158,7 +158,7 @@ Update a field value using ``Update``:
158158
159159
resp, err = conn.Update("tester", "primary", []interface{}{4}, []interface{}{[]interface{}{"+", 2, 3}})
160160
161-
This increases by 3 the value of field ``2`` in the tuple with ``id`` = 4.
161+
This increases by 3 the value of field ``2`` in the tuple with ``id = 4``.
162162
If a tuple with this ``id`` doesn't exist, Tarantool will return an error.
163163

164164
Now use ``Replace`` to totally replace the tuple that matches the
@@ -176,7 +176,7 @@ to ``Update``, but creates a new tuple if the old one was not found.
176176
177177
resp, err = conn.Upsert("tester", []interface{}{4, "Another band", 2000}, []interface{}{[]interface{}{"+", 2, 5}})
178178
179-
This increases by 5 the value of the third field in the tuple with ``id`` = 4, -- or
179+
This increases by 5 the value of the third field in the tuple with ``id = 4``, or
180180
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
181181
doesn't exist.
182182

doc/getting_started/getting_started_php.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Update a field value using ``update``:
176176
$result = $tester->update([4], Operations::set(1, 'New group')->andAdd(2, 2));
177177
178178
This updates the value of field ``1`` and increases the value of field ``2``
179-
in the tuple with ``id`` = 4. If a tuple with this ``id`` doesn't exist,
179+
in the tuple with ``id = 4``. If a tuple with this ``id`` doesn't exist,
180180
Tarantool will return an error.
181181

182182
Now use ``replace`` to totally replace the tuple that matches the
@@ -196,7 +196,7 @@ to ``update``, but creates a new tuple if the old one was not found.
196196
197197
$tester->upsert([4, 'Another band', 2000], Operations::add(2, 5));
198198
199-
This increases by 5 the value of field ``2`` in the tuple with ``id`` = 4, -- or
199+
This increases by 5 the value of field ``2`` in the tuple with ``id = 4``, or
200200
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
201201
doesn't exist.
202202

doc/getting_started/getting_started_python.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Update a field value using ``update``:
155155
>>> tester.update(4, [('=', 1, 'New group'), ('+', 2, 2)])
156156
157157
This updates the value of field ``1`` and increases the value of field ``2``
158-
in the tuple with ``id`` = 4. If a tuple with this ``id`` doesn't exist,
158+
in the tuple with ``id = 4``. If a tuple with this ``id`` doesn't exist,
159159
Tarantool will return an error.
160160

161161
Now use ``replace`` to totally replace the tuple that matches the
@@ -173,7 +173,7 @@ to ``update``, but creates a new tuple if the old one was not found.
173173
174174
>>> tester.upsert((4, 'Another band', 2000), [('+', 2, 5)])
175175
176-
This increases by 5 the value of field ``2`` in the tuple with ``id`` = 4, -- or
176+
This increases by 5 the value of field ``2`` in the tuple with ``id = 4``, or
177177
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
178178
doesn't exist.
179179

0 commit comments

Comments
 (0)