# Parser.hpp

This File On Github
Ask A Question

API: latest
module: oatpp-postgresql
#include "oatpp-postgresql/ql_template/Parser.hpp"

# Parser

Query template parser.

namespace oatpp { namespace postgresql { namespace ql_template { 
  class Parser {}
}}}

# Methods

Return Type Name Summary
data::share::StringTemplate parseTemplate Parse query template.

# Parser::parseTemplate

Parse query template.

static data::share::StringTemplate parseTemplate(const oatpp::String& text)

# Parser::TemplateExtra

Query template extra info.

namespace oatpp { namespace postgresql { namespace ql_template { 
  class Parser {
    struct TemplateExtra {}
  };
}}}

# Fields

Type Name Summary
oatpp::String templateName Query template name.
oatpp::String preparedTemplate Template text with parameters substituted to SQLite parameter placeholders.
orm::Executor::ParamsTypeMap paramsTypeMap Parameter type map.
bool prepare Use prepared statement for this query.

# Parser::TemplateExtra::templateName

Query template name.

oatpp::String templateName

# Parser::TemplateExtra::preparedTemplate

Template text with parameters substituted to SQLite parameter placeholders.

oatpp::String preparedTemplate

# Parser::TemplateExtra::paramsTypeMap

Parameter type map.

orm::Executor::ParamsTypeMap paramsTypeMap

# Parser::TemplateExtra::prepare

Use prepared statement for this query.

bool prepare