Function mz_adapter::util::describe
source ยท pub fn describe(
catalog: &Catalog,
stmt: Statement<Raw>,
param_types: &[Option<ScalarType>],
session: &Session,
) -> Result<StatementDesc, AdapterError>
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.