Skip to main content

no_mistakes_postgres_sql/statement_facts/bounds/
input_mode.rs

1/// How inputs determine a query's returned rows.
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
3pub enum SqlBoundInputMode {
4    #[default]
5    Streaming,
6    Blocking,
7    /// A data-modifying CTE emits one row per changed target row (item zero).
8    Returning,
9    /// Source rows of `INSERT ... RETURNING`. A second reference does not prove a join.
10    ReturningSource,
11    Skipped,
12}