Poco::Data::SQLite

class Binder

File Information

Library: Data/SQLite
Package: SQLite
Header: Poco/Data/SQLite/Binder.h

Description

Binds placeholders in the sql query to the provided values. Performs data types mapping.

Inheritance

Direct Base Classes: Poco::Data::AbstractBinder

All Base Classes: Poco::Data::AbstractBinder

Member Summary

Member Functions: bind

Inherited Functions: bind, isInBound, isOutBound, reset, reverseTranscode, toString, transcode, transcodeRequired

Constructors

Binder

Binder(
    sqlite3_stmt * pStmt
);

Creates the Binder.

Destructor

~Binder virtual

~Binder();

Destroys the Binder.

Member Functions

bind virtual inline

void bind(
    std::size_t pos,
    const Poco::Int8 & val,
    Direction dir
);

Binds an Int8.

bind virtual

void bind(
    std::size_t pos,
    const Poco::UInt8 & val,
    Direction dir
);

Binds an UInt8.

bind virtual

void bind(
    std::size_t pos,
    const Poco::Int16 & val,
    Direction dir
);

Binds an Int16.

bind virtual

void bind(
    std::size_t pos,
    const Poco::UInt16 & val,
    Direction dir
);

Binds an UInt16.

bind virtual

void bind(
    std::size_t pos,
    const Poco::Int32 & val,
    Direction dir
);

Binds an Int32.

bind virtual

void bind(
    std::size_t pos,
    const Poco::UInt32 & val,
    Direction dir
);

Binds an UInt32.

bind virtual

void bind(
    std::size_t pos,
    const Poco::Int64 & val,
    Direction dir
);

Binds an Int64.

bind virtual

void bind(
    std::size_t pos,
    const Poco::UInt64 & val,
    Direction dir
);

Binds an UInt64.

bind virtual

void bind(
    std::size_t pos,
    const long & val,
    Direction dir
);

Binds a long

bind virtual

void bind(
    std::size_t pos,
    const unsigned long & val,
    Direction dir
);

Binds an unsigned long

bind virtual

void bind(
    std::size_t pos,
    const bool & val,
    Direction dir
);

Binds a boolean.

bind virtual

void bind(
    std::size_t pos,
    const float & val,
    Direction dir
);

Binds a float.

bind virtual

void bind(
    std::size_t pos,
    const double & val,
    Direction dir
);

Binds a double.

bind virtual

void bind(
    std::size_t pos,
    const char & val,
    Direction dir
);

Binds a single character.

bind virtual

void bind(
    std::size_t pos,
    const char * const & pVal,
    Direction dir
);

Binds a const char ptr.

bind virtual

void bind(
    std::size_t pos,
    const std::string & val,
    Direction dir
);

Binds a string.

bind

void bind(
    std::size_t pos,
    const Poco::Data::BLOB & val,
    Direction dir
);

Binds a BLOB.

bind

void bind(
    std::size_t pos,
    const Poco::Data::CLOB & val,
    Direction dir
);

Binds a CLOB.

bind virtual

void bind(
    std::size_t pos,
    const Date & val,
    Direction dir
);

Binds a Date.

bind virtual

void bind(
    std::size_t pos,
    const Time & val,
    Direction dir
);

Binds a Time.

bind virtual

void bind(
    std::size_t pos,
    const DateTime & val,
    Direction dir
);

Binds a DateTime.

bind virtual

void bind(
    std::size_t pos,
    const UUID & val,
    Direction dir
);

Binds a UUID.

bind virtual

void bind(
    std::size_t pos,
    const NullData & val,
    Direction dir
);

Binds a null.