pub trait Variables {
// Required methods
fn column(
&self,
names: &[&str],
at: Option<usize>,
) -> Result<Option<Variable>>;
fn param(&self, number: usize) -> Option<Variable>;
}Expand description
The variables of a PL/pgSQL function that the queries of the function can name.
Required Methods§
Sourcefn column(&self, names: &[&str], at: Option<usize>) -> Result<Option<Variable>>
fn column(&self, names: &[&str], at: Option<usize>) -> Result<Option<Variable>>
resolve_column_ref: the variable that the names of a column reference name, such as x, r.f or block.x, or None when no variable has the names. * is not a name here.
§Errors
The error of a field that a record does not have, and of a record with no value yet.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".