Result - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : Result : Database/Result/GetOptions

Result

  

GetOptions

  

get options from a Result module

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

result:-GetOptions( opts )

Parameters

result

-

Result module

opts

-

(optional) equation of the form fetchsize=integer

Description

• 

GetOptions gets the values of various options that affect the behavior of result.

  

fetchsize = integer

  

Determines how many rows must be fetched from the database.  The more rows fetched, the faster accessing rows will be.  However, fetching more rows uses more memory.

• 

An option's current value can be set by calling SetOptions.

• 

Calling GetOptions with no arguments returns the current values of all the arguments that GetOptions can query.

Examples

driverDatabase[LoadDriver]:

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

fetchsize=5

(1)

stat:-SetOptions'fetchsize'=8;stat:-GetOptions

fetchsize=8

(2)

See Also

Database

Database[Connection]

Database[Result][SetOptions]

Database[Statement]

Database[usage]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam