FetchDirection in sqlparser::ast - Rust

Enum FetchDirection 

Source

pub enum FetchDirection {
    Count {
        limit: Value,
    },
    Next,
    Prior,
    First,
    Last,
    Absolute {
        limit: Value,
    },
    Relative {
        limit: Value,
    },
    All,
    Forward {
        limit: Option<Value>,
    },
    ForwardAll,
    Backward {
        limit: Option<Value>,
    },
    BackwardAll,
}
Expand description

Specific direction for FETCH statement

§

Fetch a specific count of rows.

Fields

The limit value for the count.

§

Fetch the next row.

§

Fetch the prior row.

§

Fetch the first row.

§

Fetch the last row.

§

Fetch an absolute row by index.

Fields

The absolute index value.

§

Fetch a row relative to the current position.

Fields

The relative offset value.

§

Fetch all rows.

§

Fetch forward by an optional limit.

Fields

§

Fetch all forward rows.

§

Fetch backward by an optional limit.

Fields

§

Fetch all backward rows.

§
§
§
§
§
§