Get the primary entity ID for this row (if any) Used for simple identity comparisons
(&self)
| 272 | /// Get the primary entity ID for this row (if any) |
| 273 | /// Used for simple identity comparisons |
| 274 | pub fn get_primary_entity(&self) -> Option<&EntityId> { |
| 275 | // Return the first entity (useful for single-entity queries) |
| 276 | self.source_entities.values().next() |
| 277 | } |
| 278 | |
| 279 | /// Check if this row has any tracked entities |
| 280 | pub fn has_entities(&self) -> bool { |