# Parser.hpp

This File On Github
Ask A Question

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

# Parser

Query template parser.

namespace oatpp { namespace sqlite { 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

Template extra info.

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

# Fields

Type Name Summary
oatpp::String templateName Template name.
oatpp::String preparedTemplate Template text with parameters substituted to SQLite parameter placeholders.
bool prepare Use prepared statement for this query.

# Parser::TemplateExtra::templateName

Template name.

oatpp::String templateName

# Parser::TemplateExtra::preparedTemplate

Template text with parameters substituted to SQLite parameter placeholders.

oatpp::String preparedTemplate

# Parser::TemplateExtra::prepare

Use prepared statement for this query.

bool prepare