Function coord::describe[][src]

pub fn describe(
    catalog: &dyn Catalog,
    stmt: Statement<Raw>,
    param_types: &[Option<Type>],
    session: Option<&Session>
) -> Result<StatementDesc, CoordError>

Creates a description of the statement stmt.

This function is identical to sql::plan::describe except this is also supports describing FETCH statements which need access to bound portals through the session.