class Space

class tarantool.space.Space(connection, space_name)

Object-oriented wrapper for accessing a particular space. Encapsulates the identifier of the space and provides more convenient syntax for database operations.

Create Space instance.

Parameters:
  • connection (Connection instance) – Object representing connection to the server
  • space_name (int or str) – space no or name to insert a record
call(func_name, *args, **kwargs)

Execute CALL request. Call stored Lua function.

It’s deprecated, use ~tarantool.connection.call instead

delete(*args, **kwargs)

Execute DELETE request.

See ~tarantool.connection.delete for more information

insert(*args, **kwargs)

Execute INSERT request.

See ~tarantool.connection.insert for more information

replace(*args, **kwargs)

Execute REPLACE request.

See ~tarantool.connection.replace for more information

select(*args, **kwargs)

Execute SELECT request.

See ~tarantool.connection.select for more information

update(*args, **kwargs)

Execute UPDATE request.

See ~tarantool.connection.update for more information

upsert(*args, **kwargs)

Execute UPDATE request.

See ~tarantool.connection.upsert for more information