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

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.

driverDatabaseLoadDriver:

conndriver:-OpenConnectionurl,name,pass:resconn:-ExecuteQuerySELECT * FROM animals:

Since column names were not specified in the query, they may be in any order.

res:-GetName1

mass

(1)

res:-GetName2

number

(2)

res:-GetName3

id

(3)

res:-GetName4

name

(4)

See Also

Database

Database[Result]

Database[Result][GotoRow]

Database[Result][Last]

Database[Result][Next]

Database[Result][Previous]

Database[usage]