lintel 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
lintel::db::Parameter Class Reference

#include <Parameter.h>

Public Member Functions

const std::string & getValue () const
 
std::size_t getLength () const
 

Static Public Member Functions

static Parameter with (const std::string &value)
 
static constexpr int32_t getFormatId ()
 

Detailed Description

parameter of an statement or prepared statement

Member Function Documentation

◆ getFormatId()

static constexpr int32_t lintel::db::Parameter::getFormatId ( )
inlinestaticconstexpr
Returns
the format ID for this parameter type

◆ getLength()

std::size_t lintel::db::Parameter::getLength ( ) const
Returns
the length of the value string

◆ getValue()

const std::string & lintel::db::Parameter::getValue ( ) const
Returns
the raw string value

◆ with()

static Parameter lintel::db::Parameter::with ( const std::string &  value)
static

Creates a Parameter from a string value.

Parameters
valuethe parameter value
Returns
a new Parameter instance

The documentation for this class was generated from the following file: