Add documentation of ElunaQuery and drop GetCString method.

From the Lua user's perspective there was no difference between GetString
and GetCString, so GetCString was dropped to reduce redundancy.
This commit is contained in:
Patman64
2014-12-21 22:06:45 -05:00
parent bb0204a530
commit bce49b99e2
2 changed files with 138 additions and 46 deletions

View File

@@ -1123,7 +1123,6 @@ ElunaRegister<ElunaQuery> QueryMethods[] =
{ "GetFloat", &LuaQuery::GetFloat }, // :GetFloat(column) - returns the value of a float column
{ "GetDouble", &LuaQuery::GetDouble }, // :GetDouble(column) - returns the value of a double column
{ "GetString", &LuaQuery::GetString }, // :GetString(column) - returns the value of a string column, always returns a string
{ "GetCString", &LuaQuery::GetCString }, // :GetCString(column) - returns the value of a string column, can return nil
{ "IsNull", &LuaQuery::IsNull }, // :IsNull(column) - returns true if the column is null
{ NULL, NULL },