Submodule box.space
Submodule box.space
CRUD operations in Tarantool are implemented by the box.space
submodule. It has the data-manipulation functions select, insert,
replace, update, upsert, delete, get, put. It also has
members, such as id, and whether or not a space is enabled.
Below is a list of all box.space functions and members.
Name | Use |
|---|---|
Create a space | |
Alter a space | |
Generate key + Insert a tuple | |
Get count of bytes | |
Get count of tuples | |
Create an index | |
Delete a tuple | |
Destroy a space | |
Declare field names and types | |
Convert from map to tuple or table | |
Select a tuple | |
Insert a tuple | |
Get count of tuples | |
Create a replace trigger with a function that cannot change the tuple | |
Create a replace trigger with a function that can change the tuple | |
Prepare for iterating | |
Insert or replace a tuple | |
Rename a space | |
Insert or replace a tuple | |
Enable/disable a replace trigger | |
Select one or more tuples | |
Get statistics on memory usage | |
Delete all tuples | |
Update a tuple | |
Upgrade the space format and tuples | |
Update a tuple | |
Any function / method that any user wants to add | |
Create a check constraint | |
Flag, true if space is enabled | |
Required number of fields | |
Numeric identifier of space | |
Container of space's indexes | |
(Metadata) List of replica sets | |
(Metadata) List of function tuples | |
(Metadata) List of indexes | |
(Metadata) List of indexes accessible for the current user | |
(Metadata) List of privileges | |
(Metadata) List of privileges accessible for the current user | |
(Metadata) List of schemas | |
(Metadata) List of sequences | |
(Metadata) List of sequences | |
(Metadata) List of spaces | |
(Metadata) List of spaces accessible for the current user | |
(Metadata) List of connections between spaces and sequences | |
(Metadata) List of connections between spaces and sequences accessible for the current user | |
(Metadata) List of users | |
(Metadata) List of users accessible for the current user | |
(Metadata) List of check constraints | |
(Metadata) List of collations | |
(Metadata) List of collations accessible for the current user | |
(Metadata) Spaces whose names begin with v | |
(Metadata) List of settings affecting behavior of the current session |
To see examples, visit the how-to guide on CRUD operations.