GetName - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Result

  

GetName

  

get the name of a column

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

result:-GetName( index )

Parameters

result

-

Result module

index

-

integer; the index of the column whose name is being returned

Description

• 

GetName returns the name of the column indicated by index.

• 

index is the index of the column in result's table.

Examples

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

(1)
> 

res:-GetName⁡2

number

(2)
> 

res:-GetName⁡3

id

(3)
> 

res:-GetName⁡4

name

(4)

See Also

Database

Database[Result]

Database[Result][GotoRow]

Database[Result][Last]

Database[Result][Next]

Database[Result][Previous]

Database[usage]