flowscope_cli/metadata/
mod.rs

1//! Live database metadata providers for schema introspection.
2//!
3//! This module provides the infrastructure for fetching schema metadata directly
4//! from databases at runtime. This enables accurate wildcard expansion (SELECT *)
5//! without requiring manual DDL files.
6//!
7//! Note: This is a CLI-only feature. WASM/browser builds cannot make direct
8//! database connections and should use the DDL-based schema loading instead.
9
10#[cfg(feature = "metadata-provider")]
11mod sqlx_provider;
12
13#[cfg(feature = "metadata-provider")]
14pub use sqlx_provider::fetch_metadata_from_database;