Deletes all tuples. The method is performed in background and doesn’t block consequent requests.
Complexity factors: Index size, Index type, Number of tuples accessed.
truncatemethod can only be called by the user who created the space, or from within a
setuidfunction created by the user who created the space. Read more about
setuidfunctions in the reference for box.schema.func.create().
truncatemethod cannot be called from within a transaction.
tarantool> box.space.tester:truncate() --- ... tarantool> box.space.tester:len() --- - 0 ...