mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-12 07:47:12 +01:00
Adjust method name in MySQL result-set to be consistent.
This commit is contained in:
parent
27df4fe282
commit
88feb8c3dc
@ -157,7 +157,7 @@ void ResultSet::ValidateField(Int32 idx) const
|
|||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
Array ResultSet::FieldNames() const
|
Array ResultSet::GetFieldNames() const
|
||||||
{
|
{
|
||||||
SQMOD_VALIDATE_CREATED(*this);
|
SQMOD_VALIDATE_CREATED(*this);
|
||||||
// Grab the number of available fields
|
// Grab the number of available fields
|
||||||
@ -251,7 +251,7 @@ void Register_ResultSet(Table & sqlns)
|
|||||||
.Func(_SC("_tostring"), &ResultSet::ToString)
|
.Func(_SC("_tostring"), &ResultSet::ToString)
|
||||||
// Properties
|
// Properties
|
||||||
.Prop(_SC("IsValid"), &ResultSet::IsValid)
|
.Prop(_SC("IsValid"), &ResultSet::IsValid)
|
||||||
.Prop(_SC("FieldNames"), &ResultSet::FieldNames)
|
.Prop(_SC("FieldNames"), &ResultSet::GetFieldNames)
|
||||||
.Prop(_SC("FieldsArray"), &ResultSet::GetFieldsArray)
|
.Prop(_SC("FieldsArray"), &ResultSet::GetFieldsArray)
|
||||||
.Prop(_SC("FieldsTable"), &ResultSet::GetFieldsTable)
|
.Prop(_SC("FieldsTable"), &ResultSet::GetFieldsTable)
|
||||||
.Prop(_SC("RowIndex"), &ResultSet::RowIndex)
|
.Prop(_SC("RowIndex"), &ResultSet::RowIndex)
|
||||||
|
@ -195,7 +195,7 @@ public:
|
|||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
* Returns an array with all the field names available in the managed result set.
|
* 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.
|
* Returns an array with wrapper instances for all the field available in the managed result set.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user