Skip to content

Implement named indexes #2

@coxx

Description

@coxx

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions