Module space

Source
Expand description

Box: spaces

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.

See also:

Structs§

Builder
Field
FuncMetadata
Metadata
Space metadata. Represents a tuple of a system _space space.
Privilege
Space
SpaceCreateOptions
Options for new space, used by Space::create. (for details see Options for box.schema.space.create).
UpdateOps
A builder-style helper struct for Space::update, Space::upsert, Index::update, Index::upsert methods.

Enums§

FieldType
Type of a field in the space format definition.
IsNullable
An enum specifying whether or not the given space field can be null.
SpaceEngineType
Type of engine, used by space.
SpaceType
Possible values for the SpaceCreateOptions::space_type field.
SystemSpace
Provides access to system spaces

Constants§

SPACE_ID_MAX
Maximum possible space id.
SYSTEM_ID_MAX
End of the reserved range of system spaces.

Functions§

clear_cache
Clear the space and index cache so that the next call to Space::find_cached & Space::index_cached will have to update the cache.
space_id_temporary_min
Returns None if fully temporary spaces aren’t supported in the current tarantool executable.

Type Aliases§

SpaceFieldFormatDeprecated
SpaceFieldTypeDeprecated
SpaceId