Result
GetName
get the name of a column
Calling Sequence
Parameters
Description
Examples
result:-GetName( index )
result
-
Result module
index
integer; the index of the column whose name is being returned
GetName returns the name of the column indicated by index.
index is the index of the column in result's table.
Create a Result.
driver≔DatabaseLoadDriver:
conn≔driver:-OpenConnectionurl,name,pass:res≔conn:-ExecuteQuerySELECT * FROM animals:
Since column names were not specified in the query, they may be in any order.
res:-GetName1
mass
res:-GetName2
number
res:-GetName3
id
res:-GetName4
name
See Also
Database
Database[Result]
Database[Result][GotoRow]
Database[Result][Last]
Database[Result][Next]
Database[Result][Previous]
Database[usage]
Download Help Document