Skip to main content

generate_streaming

Function generate_streaming 

Source
pub async fn generate_streaming(
    cfg: &Config,
    lock_file: Option<String>,
    name: &str,
    variables: Option<Variables>,
) -> Result<StreamingGeneration>
Expand description

Generate a streaming migration that can be rendered directly to a writer. This avoids materializing the entire SQL in memory.