# Poco::Data::SQLite

# class Binder

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

## Constructors

### Binder

Binder(
sqlite3_stmt * pStmt
);

Creates the Binder.

## Destructor

### ~Binder

~Binder();

Destroys the Binder.

## Member Functions

### bind

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

Binds an Int8.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an UInt8.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an Int16.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an UInt16.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an Int32.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an UInt32.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an Int64.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds an UInt64.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a boolean.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a float.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a double.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a single character.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a const char ptr.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a string.

See also: Poco::Data::AbstractBinder::bind()

### 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

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

Binds a Date.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a Time.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a DateTime.

See also: Poco::Data::AbstractBinder::bind()

### bind

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

Binds a null.

See also: Poco::Data::AbstractBinder::bind()