Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
4b37f81d
Commit
4b37f81d
authored
8 years ago
by
ocelot-inc
Browse files
Options
Downloads
Patches
Plain Diff
Fixes gh-1400 upsert syntax
parent
290ad832
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/sphinx/book/box/box_space.rst
+1
-1
1 addition, 1 deletion
doc/sphinx/book/box/box_space.rst
doc/sphinx/book/box/index.rst
+1
-1
1 addition, 1 deletion
doc/sphinx/book/box/index.rst
with
2 additions
and
2 deletions
doc/sphinx/book/box/box_space.rst
+
1
−
1
View file @
4b37f81d
...
...
@@ -555,7 +555,7 @@ A list of all ``box.space`` functions follows, then comes a list of all
Parameters: :samp:`{space_object}` = an :ref:`object reference <object-reference>`;
:samp:`{tuple_value}` (type = Lua table or scalar) =
field values, must be passed as a Lua table
if tuple_value contains more than one field
;
field values, must be passed as a Lua table;
:codeitalic:`{operator, field_no, value}` (type = Lua table) = a group of arguments for each
operation, indicating what the operation is, what field the
operation will apply to, and what value will be applied. The
...
...
This diff is collapsed.
Click to expand it.
doc/sphinx/book/box/index.rst
+
1
−
1
View file @
4b37f81d
...
...
@@ -232,7 +232,7 @@ Six examples of basic operations:
tarantool> box.space.tester:update({999}, {{'=', 2, 'Tarantino'}})
-- Upsert the tuple, changing field field[2] again.
-- The syntax of upsert is
the same as
the syntax of update,
-- The syntax of upsert is
similar to
the syntax of update,
-- but the return value will be different.
tarantool> box.space.tester:upsert({999}, {{'=', 2, 'Tarantism'}})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment