[][src]Trait rbatis::interpreter::sql::node::proxy_node::CustomNodeGenerate

pub trait CustomNodeGenerate: Send + Sync + Debug {
    pub fn generate(
        &self,
        express: &str,
        child_nodes: Vec<NodeType>
    ) -> Result<Option<ProxyNode>, Error>; }

CustomNode Generate,you can custom py lang parse

Required methods

pub fn generate(
    &self,
    express: &str,
    child_nodes: Vec<NodeType>
) -> Result<Option<ProxyNode>, Error>
[src]

generate return an Option,if return None,parser will be skip this build

Loading content...

Implementors

Loading content...