mailru/tarantool-python — Issue #2: Implement named indexes
Author: coxx
Created: 2011-12-25 16:10:51+00:00
State: open
Labels: feature

It is possible to pass a list (or mapping) of index names when creating Space instance.
In this case in Space.select() the index can be specified by its name.

>>> user = server.space(0, named_index={"username":1})
>>> user.select("root", index="username")