space_object:drop() | Tarantool

space_object:drop()

object space_object
space_object:drop()

Drop a space. The method is performed in background and doesn’t block consequent requests.

Parameters:
Return:

nil

Possible errors: space_object does not exist.

Complexity factors: Index size, Index type, Number of indexes accessed, WAL settings.

Example:

box.space.space_that_does_not_exist:drop()
Found what you were looking for?
Feedback