Get all documents stored in the table. :returns: a list with all documents.
(self)
| 223 | return doc_ids |
| 224 | |
| 225 | def all(self) -> List[Document]: |
| 226 | """ |
| 227 | Get all documents stored in the table. |
| 228 | |
| 229 | :returns: a list with all documents. |
| 230 | """ |
| 231 | |
| 232 | # iter(self) (implemented in Table.__iter__ provides an iterator |
| 233 | # that returns all documents in this table. We use it to get a list |
| 234 | # of all documents by using the ``list`` constructor to perform the |
| 235 | # conversion. |
| 236 | |
| 237 | return list(iter(self)) |
| 238 | |
| 239 | def search(self, cond: QueryLike) -> List[Document]: |
| 240 | """ |
no outgoing calls