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:-OpenConnection⁡url,name,pass:res≔conn:-ExecuteQuery⁡SELECT * FROM animals:
Since column names were not specified in the query, they may be in any order.
res:-GetName⁡1
mass
res:-GetName⁡2
number
res:-GetName⁡3
id
res:-GetName⁡4
name
See Also
Database
Database[Result]
Database[Result][GotoRow]
Database[Result][Last]
Database[Result][Next]
Database[Result][Previous]
Database[usage]
Download Help Document