Skip to content

Xuniq/gh 1751 fix typos in connecting from your favorite language #1876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/getting_started/getting_started_go.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ To select a tuple from a space, use

resp, err = conn.Select("tester", "primary", 0, 1, tarantool.IterEq, []interface{}{4})

This selects a tuple by the primary key with ``offset`` = 0 and ``limit`` = 1
This selects a tuple by the primary key with ``offset = 0`` and ``limit = 1``
from a space named ``tester`` (in our example, this is the index named ``primary``,
based on the ``id`` field of each tuple).

Expand Down Expand Up @@ -158,7 +158,7 @@ Update a field value using ``Update``:

resp, err = conn.Update("tester", "primary", []interface{}{4}, []interface{}{[]interface{}{"+", 2, 3}})

This increases by 3 the value of field ``2`` in the tuple with ``id`` = 4.
This increases by 3 the value of field ``2`` in the tuple with ``id = 4``.
If a tuple with this ``id`` doesn't exist, Tarantool will return an error.

Now use ``Replace`` to totally replace the tuple that matches the
Expand All @@ -176,7 +176,7 @@ to ``Update``, but creates a new tuple if the old one was not found.

resp, err = conn.Upsert("tester", []interface{}{4, "Another band", 2000}, []interface{}{[]interface{}{"+", 2, 5}})

This increases by 5 the value of the third field in the tuple with ``id`` = 4, -- or
This increases by 5 the value of the third field in the tuple with ``id = 4``, or
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
doesn't exist.

Expand Down
4 changes: 2 additions & 2 deletions doc/getting_started/getting_started_php.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Update a field value using ``update``:
$result = $tester->update([4], Operations::set(1, 'New group')->andAdd(2, 2));

This updates the value of field ``1`` and increases the value of field ``2``
in the tuple with ``id`` = 4. If a tuple with this ``id`` doesn't exist,
in the tuple with ``id = 4``. If a tuple with this ``id`` doesn't exist,
Tarantool will return an error.

Now use ``replace`` to totally replace the tuple that matches the
Expand All @@ -196,7 +196,7 @@ to ``update``, but creates a new tuple if the old one was not found.

$tester->upsert([4, 'Another band', 2000], Operations::add(2, 5));

This increases by 5 the value of field ``2`` in the tuple with ``id`` = 4, -- or
This increases by 5 the value of field ``2`` in the tuple with ``id = 4``, or
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
doesn't exist.

Expand Down
4 changes: 2 additions & 2 deletions doc/getting_started/getting_started_python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Update a field value using ``update``:
>>> tester.update(4, [('=', 1, 'New group'), ('+', 2, 2)])

This updates the value of field ``1`` and increases the value of field ``2``
in the tuple with ``id`` = 4. If a tuple with this ``id`` doesn't exist,
in the tuple with ``id = 4``. If a tuple with this ``id`` doesn't exist,
Tarantool will return an error.

Now use ``replace`` to totally replace the tuple that matches the
Expand All @@ -173,7 +173,7 @@ to ``update``, but creates a new tuple if the old one was not found.

>>> tester.upsert((4, 'Another band', 2000), [('+', 2, 5)])

This increases by 5 the value of field ``2`` in the tuple with ``id`` = 4, -- or
This increases by 5 the value of field ``2`` in the tuple with ``id = 4``, or
inserts the tuple ``(4, "Another band", 2000)`` if a tuple with this ``id``
doesn't exist.

Expand Down