OpenKO Database Model
Table- and column-level documentation generated from the jsonSchema
Loading...
Searching...
No Matches
storedProc::UpdateSavedMagic Class Referenceexport
module StoredProc

MANUAL_TODO. More...

Public Member Functions

 UpdateSavedMagic (std::shared_ptr< nanodbc::connection > conn)
 
std::weak_ptr< nanodbc::result > execute (const char *strCharID, const int32_t Skill1, const int16_t During1, const int32_t Skill2, const int16_t During2, const int32_t Skill3, const int16_t During3, const int32_t Skill4, const int16_t During4, const int32_t Skill5, const int16_t During5, const int32_t Skill6, const int16_t During6, const int32_t Skill7, const int16_t During7, const int32_t Skill8, const int16_t During8, const int32_t Skill9, const int16_t During9, const int32_t Skill10, const int16_t During10) noexcept(false)
 Executes the stored procedure.
 
- Public Member Functions inherited from storedProc::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 const modelUtil::DbType DbType ()
 Returns the associated database type for the table.
 

Additional Inherited Members

- Protected Member Functions inherited from storedProc::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::StoredProcedure
std::shared_ptr< nanodbc::connection > _conn
 
nanodbc::statement _stmt
 
std::shared_ptr< nanodbc::result > _result
 
bool _flushed
 
- Static Protected Attributes inherited from storedProc::StoredProcedure
static const nanodbc::string SqlState_InvalidCursorState = NANODBC_TEXT("24000")
 

Detailed Description

MANUAL_TODO.

GAME Database Stored Procedures
UPDATE_SAVED_MAGIC MANUAL_TODO

Member Function Documentation

◆ execute()

std::weak_ptr< nanodbc::result > storedProc::UpdateSavedMagic::execute ( const char * strCharID,
const int32_t Skill1,
const int16_t During1,
const int32_t Skill2,
const int16_t During2,
const int32_t Skill3,
const int16_t During3,
const int32_t Skill4,
const int16_t During4,
const int32_t Skill5,
const int16_t During5,
const int32_t Skill6,
const int16_t During6,
const int32_t Skill7,
const int16_t During7,
const int32_t Skill8,
const int16_t During8,
const int32_t Skill9,
const int16_t During9,
const int32_t Skill10,
const int16_t During10 )
inline

Executes the stored procedure.

Exceptions
nanodbc::database_error

The documentation for this class was generated from the following file: