|
OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
|
Attempts to claim a stipend from USER_KNIGHTS_RANK/USER_PERSONAL_RANK. More...
#include <StoredProc.h>
Public Member Functions | |
| ClaimUserRankStipend (std::shared_ptr< nanodbc::connection > conn) | |
| std::weak_ptr< nanodbc::result > | execute (uint8_t *ResultCode, const uint8_t RankType, const uint8_t Rank, const uint8_t Nation, const char *CharId) noexcept(false) |
| Executes the stored procedure. | |
| ~ClaimUserRankStipend () | |
| Flushes any output variables or return values on destruction. | |
Public Member Functions inherited from storedProc::detail::StoredProcedure | |
| void | set_connection (const std::shared_ptr< nanodbc::connection > &conn) |
| Sets the associated database connection. | |
| void | flush () |
| Flushes any output variables or return values by reading any and all result sets. | |
Static Public Member Functions | |
| static const std::string & | Query () |
| Returns the query associated with preparing this statement. | |
| static modelUtil::DbType | DbType () |
| Returns the associated database type for the table. | |
Additional Inherited Members | |
Protected Member Functions inherited from storedProc::detail::StoredProcedure | |
| StoredProcedure (std::shared_ptr< nanodbc::connection > conn) | |
| void | prepare (const std::string &query) noexcept(false) |
| Opens and prepares the statement with the associated query. | |
| void | flush_on_destruct () |
| Flushes any output variables or return values on destruction. | |
| std::weak_ptr< nanodbc::result > | execute () noexcept(false) |
| Executes the currently prepared statement. | |
| void | skip_rows_in_result_set () |
Protected Attributes inherited from storedProc::detail::StoredProcedure | |
| std::shared_ptr< nanodbc::connection > | _conn |
| nanodbc::statement | _stmt |
| std::shared_ptr< nanodbc::result > | _result |
| bool | _flushed |
Attempts to claim a stipend from USER_KNIGHTS_RANK/USER_PERSONAL_RANK.
| std::weak_ptr< nanodbc::result > storedProc::ClaimUserRankStipend::execute | ( | uint8_t * | ResultCode, |
| const uint8_t | RankType, | ||
| const uint8_t | Rank, | ||
| const uint8_t | Nation, | ||
| const char * | CharId ) |
Executes the stored procedure.
| nanodbc::database_error |