How data flows into Forest
Forest loads data through datasources, connections to your databases, APIs, or any system that holds data.Forest datasources
Forest loads data through datasources, connections to your databases, APIs, or any system that holds data. For some datasources, Forest performs introspection to discover the schema automatically. For others (like ORM-based connections), the schema is already known from your model definitions. ORM-based connections (Sequelize, Mongoose):- Forest reads your ORM model definitions
- Uses the schemas you’ve already defined in your application code
- Detects relationships from model associations
- No database introspection needed - everything comes from your models
- SQL databases: Forest queries the database metadata (information_schema or system catalogs) to discover tables, columns, data types, constraints, foreign keys, and indexes
- MongoDB: Forest samples a subset of documents (default: 100 per collection) and analyzes them to infer the schema structure, including nested fields and references
- Discovers schema - all tables/collections and their structure
- Maps data types - converts database types to Forest types
- Detects relationships - foreign keys or references become navigable relationships
- Creates collections - each table/collection becomes a collection in the UI
- Enables CRUD operations - browse, create, edit, delete records