Check if the query is based on a document ID. Returns: bool: True if `id` is set, False otherwise.
(self)
| 89 | fts: Optional[Fts] = None |
| 90 | |
| 91 | def has_id(self) -> bool: |
| 92 | """Check if the query is based on a document ID. |
| 93 | |
| 94 | Returns: |
| 95 | bool: True if `id` is set, False otherwise. |
| 96 | """ |
| 97 | return self.id is not None |
| 98 | |
| 99 | def has_vector(self) -> bool: |
| 100 | """Check if the query contains an explicit vector. |
no outgoing calls