pub fn eval_as_mysql_bools(
        &self,
        ctx: &mut EvalContext,
        outputs: &mut [bool],
    ) -> crate::Result<()> {
        assert!(outputs.len() >= self.len());
        match_template_evaluable! {
            TT, match self {
                VectorValue::TT(v) => {
                    let l = self.len();
                    for i in 0..l {
                        outputs[i] = v[i].as_mysql_bool(ctx)?;
                    }
                },
            }
        }
        Ok(())
    }
/// Evaluates values into MySQL logic values.
///
/// The caller must provide an output buffer which is large enough for holding values.
Evaluates values into MySQL logic values.
The caller must provide an output buffer which is large enough for holding values.
Evaluates values into MySQL logic values . The caller must provide an output buffer which is large enough for holding values .
pub fn eval_as_mysql_bools(
        &self,
        ctx: &mut EvalContext,
        outputs: &mut [bool],
    ) -> crate::Result<()> {
        assert!(outputs.len() >= self.len());
        match_template_evaluable! {
            TT, match self {
                VectorValue::TT(v) => {
                    let l = self.len();
                    for i in 0..l {
                        outputs[i] = v[i].as_mysql_bool(ctx)?;
                    }
                },
            }
        }
        Ok(())
    }
pub fn eval_as_mysql_bools ( & self , ctx : & mut EvalContext , outputs : & mut [ bool ] , ) -> crate :: Result < ( ) > { assert ! ( outputs len ( ) self len ( ) ) ; match_template_evaluable ! { TT match self { VectorValue TT ( v ) { let l self len ( ) for i in 0 l { outputs [ i ] v [ i ] as_mysql_bool ( ctx ) } } } } Ok ( ( ) ) }
Evaluates values into MySQL logic values.
Evaluates values into MySQL logic values .
&self
ctx
&mut EvalContext
outputs
&mut [bool]
&self
ctx
&mut EvalContext
outputs
&mut [bool]