Database Index
How DataLoam builds local database context for reliable AI
Database Index is the local context layer DataLoam builds from your database schema, relationships, documentation, and learned values. It helps AI features answer with real database context instead of generic guesses.
What it stores
- Database structure, including schemas, tables, collections, columns, and fields.
- Relationships between entities, such as foreign keys and joined data paths.
- Documentation you write for tables, columns, collections, and fields.
- Enum-like values DataLoam learns from your database shape.
Why it matters
AI is only useful when it understands the database it is working with. Database Index gives DataLoam the context needed to generate better queries, avoid invalid fields, and explain database-specific workflows more accurately.
Local by default
The index is built for your local editor workflow. DataLoam uses it to provide schema-aware autocomplete, query assistance, and AI guidance without forcing you to repeatedly describe your database.