[][src]Trait rbatis::interpreter::sql::ast::RbatisAST

pub trait RbatisAST: Send + Sync + Debug {
    pub fn name() -> &'static str
    where
        Self: Sized
;
pub fn eval(
        &self,
        convert: &DriverType,
        env: &mut Value,
        engine: &ExprRuntime,
        arg_result: &mut Vec<Value>,
        arg_sql: &mut String
    ) -> Result<Value, Error>; }

Abstract syntax tree node

Required methods

pub fn name() -> &'static str where
    Self: Sized
[src]

pub fn eval(
    &self,
    convert: &DriverType,
    env: &mut Value,
    engine: &ExprRuntime,
    arg_result: &mut Vec<Value>,
    arg_sql: &mut String
) -> Result<Value, Error>
[src]

Loading content...

Implementors

impl RbatisAST for BindNode[src]

impl RbatisAST for ChooseNode[src]

impl RbatisAST for ForEachNode[src]

impl RbatisAST for IfNode[src]

impl RbatisAST for OtherwiseNode[src]

impl RbatisAST for PrintNode[src]

impl RbatisAST for ProxyNode[src]

impl RbatisAST for SetNode[src]

impl RbatisAST for StringNode[src]

impl RbatisAST for TrimNode[src]

impl RbatisAST for WhenNode[src]

impl RbatisAST for WhereNode[src]

impl<'a> RbatisAST for NodeType[src]

Loading content...