pub fn describe<S: Append>(
catalog: &Catalog<S>,
stmt: Statement<Raw>,
param_types: &[Option<ScalarType>],
session: &Session
) -> Result<StatementDesc, CoordError>
Expand description
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.