Read all objects

collection = client.collections.get("WineReview").with_consistency_level(ConsistencyLevel.ALL)
for item in collection.iterator():
    print(print(item.uuid, item.properties))

Hi team , does the above retrieves all the objects present in the collection and read on repair happens parallely , regardless of no limit and after params given ?

Hi @Dharanish !

It should. AFAIK, it will fix those eventual inconsistencies on read.

Also, keep an eye for our roadmap.

Hopefully we’ll have async repair in 1.25:

Ps: Don’t forget to leave your thumbs up on this issue :wink:
Ps: And, for course, our :star: in our Github repo :wink:

Thanks!

1 Like