Use the collection query() method with an expression that matches everything. For a collection named 'aaa' with an int64 'id' field: collection = Collection('aaa'); result = collection.query(expr='id >= 0'). That returns every entity, and you can pull just the ids out of the result list. Note this loads all ids into memory, so for very large collections page through with offset and limit instead of one giant query.

Context: Stack Overflow #79179997 (accepted answer, 4 votes): I’m new to database management, and in my project, I need to use a vector database to store vector data. I chose Milvus for this purpose. I plan to implement a delete function so users can remove entries, but users might forget the names or IDs they want to delete. To address this, I’m also developing a "list all" function that allows users to view all entries in the database. Here’s the structure of my database (as a dictionary): `DB = { "id": id, "vector": vector, "file_name": name, } ` Currently, I’m loading all names like this: ``` client = MilvusClient(r'/my.db') output =...