Close
Close window
SetOptions - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

Result

SetOptions

set options of a Result module

Calling Sequence

result:-SetOptions( opts )

Parameters

result

-

Result module

opts

-

(optional) equation of the form fetchsize=integer

Description

SetOptions sets various options that affect the behavior of result.

SetOptions accepts one option.

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 obtained by calling GetOptions .

SetOptions does not return anything.

Calling SetOptions with no arguments raises an error.

Examples

>

driverDatabaseLoadDriver:

>

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

fetchsize=5

(1)
>

stat:-SetOptionsfetchsize=8;stat:-GetOptions

fetchsize=8

(2)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /