Check if the query is based on a document ID. Returns: bool: True if `id` is set, False otherwise.
(self)
| 101 | fts: Optional[Fts] = None |
| 102 | |
| 103 | def has_id(self) -> bool: |
| 104 | """Check if the query is based on a document ID. |
| 105 | |
| 106 | Returns: |
| 107 | bool: True if `id` is set, False otherwise. |
| 108 | """ |
| 109 | return self.id is not None |
| 110 | |
| 111 | def has_vector(self) -> bool: |
| 112 | """Check if the query contains an explicit vector. |
no outgoing calls