MCPcopy
hub / github.com/redis/redis-py / limit_ids

Method limit_ids

redis/commands/search/query.py:51–55  ·  view source on GitHub ↗

Limit the results to a specific set of pre-known document ids of any length.

(self, *ids)

Source from the content-addressed store, hash-verified

49 return self._query_string
50
51 def limit_ids(self, *ids) -> "Query":
52 """Limit the results to a specific set of pre-known document
53 ids of any length."""
54 self._ids = ids
55 return self
56
57 def return_fields(self, *fields) -> "Query":
58 """Add fields to return fields."""

Callers 2

test_clientMethod · 0.80
test_clientMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_clientMethod · 0.64
test_clientMethod · 0.64