1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 09:57:14 +01:00

Adjust method name in MySQL result-set to be consistent.

This commit is contained in:
Sandu Liviu Catalin 2016-07-28 01:16:52 +03:00
parent 27df4fe282
commit 88feb8c3dc
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ void ResultSet::ValidateField(Int32 idx) const
#endif // _DEBUG
// ------------------------------------------------------------------------------------------------
Array ResultSet::FieldNames() const
Array ResultSet::GetFieldNames() const
{
SQMOD_VALIDATE_CREATED(*this);
// Grab the number of available fields
@ -251,7 +251,7 @@ void Register_ResultSet(Table & sqlns)
.Func(_SC("_tostring"), &ResultSet::ToString)
// Properties
.Prop(_SC("IsValid"), &ResultSet::IsValid)
.Prop(_SC("FieldNames"), &ResultSet::FieldNames)
.Prop(_SC("FieldNames"), &ResultSet::GetFieldNames)
.Prop(_SC("FieldsArray"), &ResultSet::GetFieldsArray)
.Prop(_SC("FieldsTable"), &ResultSet::GetFieldsTable)
.Prop(_SC("RowIndex"), &ResultSet::RowIndex)

View File

@ -195,7 +195,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Returns an array with all the field names available in the managed result set.
*/
Array FieldNames() const;
Array GetFieldNames() const;
/* --------------------------------------------------------------------------------------------
* Returns an array with wrapper instances for all the field available in the managed result set.