31 #ifndef LEDGER_CORE_OPERATIONDATABASEHELPER_H 32 #define LEDGER_CORE_OPERATIONDATABASEHELPER_H 34 #include <api/OperationType.hpp> 35 #include <wallet/common/Operation.h> 43 static bool putOperation(soci::session& sql,
45 static std::string createUid(
const std::string& accountUid,
46 const std::string& txId,
47 const api::OperationType type);
48 static void queryOperations(soci::session& sql, int32_t from, int32_t to,
49 bool complete,
bool excludeDropped, std::vector<Operation>& out);
51 static std::size_t queryOperations(soci::session &sql,
52 const std::string &accountUid,
53 std::vector<Operation>& out,
54 std::function<
bool (
const std::string& address)> filter);
56 static void updateCurrencyOperation(soci::session& sql,
64 #endif //LEDGER_CORE_OPERATIONDATABASEHELPER_H Definition: Operation.h:53
Definition: OperationDatabaseHelper.h:41
Definition: Account.cpp:8