#include <SQLiteQuery.h>
Public Types | |
| using | HandlerFunc = AZStd::function< bool(T &)> |
Public Member Functions | |
| SqlQueryResultRunner (bool bindSucceeded, const HandlerFunc &handler, const char *statementName, StatementAutoFinalizer autoFinalizer) | |
| template<typename TCallback , typename... TArgs> | |
| bool | Query (const TCallback &callback, TArgs... args) |
Public Attributes | |
| const char * | m_statementName |
| StatementAutoFinalizer | m_autoFinalizer |
| const HandlerFunc & | m_handler |
| bool | m_bindSucceeded |
Helper object used to provide a query callback that needs to accept multiple arguments This is just a slightly easier-to-use/less verbose (at the callsite) alternative to AZStd::bind'ing the arguments to the callback