We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e74ca commit 8c1ef8eCopy full SHA for 8c1ef8e
arango/collection.py
@@ -1334,7 +1334,7 @@ def add_hash_index(
1334
:rtype: dict
1335
:raise arango.exceptions.IndexCreateError: If create fails.
1336
"""
1337
- m = "add_hash_index is deprecated. Using add_index with {'type': 'persistent'} instead." # noqa: E501
+ m = "add_hash_index is deprecated. Using add_index with {'type': 'hash'} instead." # noqa: E501
1338
warn(m, DeprecationWarning, stacklevel=2)
1339
1340
data: Json = {"type": "hash", "fields": fields}
0 commit comments