Skip to main content

execute

Function execute 

Source
pub fn execute(
    storage: &Storage,
    stmt: &Statement,
    parameters: &[AttributeValue],
    limit: Option<usize>,
) -> Result<Option<Vec<Item>>>
Expand description

Execute a parsed PartiQL statement.

Returns Some(items) for SELECT (may be empty), None for write operations. An optional limit restricts how many items a SELECT returns.