RowOperations.h File Reference
This header defines the RowOperations class. More...
#include <ssrc/wispers/database/Database.h>
#include <ssrc/wisp/utility/wisp_import.h>
#include <boost/integer_traits.hpp>
Include dependency graph for RowOperations.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | detail::FindRow< T, true > |
struct | detail::FindRow< T, false > |
struct | DefaultValueBinder |
struct | DefaultValueLoader |
struct | detail::PrimaryKeyCond< row_type, i > |
struct | detail::PrimaryKeyCond< row_type, 0 > |
struct | RowOperationsReadOnly< Row, ValueBinder, ValueLoader > |
struct | RowOperations< Row, ValueBinder, ValueLoader > |
Namespaces | |
namespace | detail |
Functions | |
template<typename T , typename... P> | |
std::pair< bool, T > | find_row (PreparedStatement &query, P &&...p) SSRC_DECL_THROW(DatabaseException) |
template<typename value_type , typename... P> | |
value_type | find_value (const prepared_statement_ptr &query, const value_type &default_value, P &&...p) |
template<typename value_type , typename... P> | |
value_type | max_id (const prepared_statement_ptr &max_query, P &&...p) |
Detailed Description
This header defines the RowOperations class.
Definition in file RowOperations.h.
Function Documentation
template<typename T , typename... P>
std::pair<bool, T> find_row | ( | PreparedStatement & | query, |
P &&... | p | ||
) | [inline] |
Definition at line 70 of file RowOperations.h.
References value().
template<typename value_type , typename... P>
value_type find_value | ( | const prepared_statement_ptr & | query, |
const value_type & | default_value, | ||
P &&... | p | ||
) | [inline] |
Definition at line 418 of file RowOperations.h.
template<typename value_type , typename... P>
value_type max_id | ( | const prepared_statement_ptr & | max_query, |
P &&... | p | ||
) | [inline] |
Definition at line 428 of file RowOperations.h.
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.