MANUAL_TODO.
More...
|
| CreateNewChar (std::shared_ptr< nanodbc::connection > conn) |
|
std::weak_ptr< nanodbc::result > | execute (int16_t *nRet, const char *AccountID, const uint8_t index, const char *CharID, const uint8_t Race, const int16_t Class, const uint8_t Hair, const uint8_t Face, const uint8_t Str, const uint8_t Sta, const uint8_t Dex, const uint8_t Intel, const uint8_t Cha) noexcept(false) |
| Executes the stored procedure.
|
|
| ~CreateNewChar () |
| Flushes any output variables or return values on destruction.
|
|
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 const std::string & | Query () |
| Returns the query associated with preparing this statement.
|
|
static const modelUtil::DbType | DbType () |
| Returns the associated database type for the table.
|
|
|
| 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 () |
|
std::shared_ptr< nanodbc::connection > | _conn |
|
nanodbc::statement | _stmt |
|
std::shared_ptr< nanodbc::result > | _result |
|
bool | _flushed |
|
static const nanodbc::string | SqlState_InvalidCursorState = NANODBC_TEXT("24000") |
|
MANUAL_TODO.
- GAME Database Stored Procedures
- CREATE_NEW_CHAR MANUAL_TODO
◆ execute()
std::weak_ptr< nanodbc::result > storedProc::CreateNewChar::execute |
( |
int16_t * | nRet, |
|
|
const char * | AccountID, |
|
|
const uint8_t | index, |
|
|
const char * | CharID, |
|
|
const uint8_t | Race, |
|
|
const int16_t | Class, |
|
|
const uint8_t | Hair, |
|
|
const uint8_t | Face, |
|
|
const uint8_t | Str, |
|
|
const uint8_t | Sta, |
|
|
const uint8_t | Dex, |
|
|
const uint8_t | Intel, |
|
|
const uint8_t | Cha ) |
|
inline |
Executes the stored procedure.
- Exceptions
-
The documentation for this class was generated from the following file:
- StoredProc/StoredProc.ixx