Skip to content

Home Information - Your home, your data, organized.

Python
462 B
Raw Blame

Database Conventions

Indexing Strategy

class Meta:
    indexes = [
        models.Index(fields=['integration_name', 'integration_id']),
        models.Index(fields=['timestamp']),
        models.Index(fields=['entity', '-timestamp']),
    ]
    db_table = 'entity_sensor_response'

Related Documentation