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