database.cursor() (Method)

Creates a new cursor object with the SQL supplied in the argument.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Cursor object
JavaScript syntax:NESdatabase.cursor(aQuery)
NESdatabase.cursor(aQuery, aFlag)
Argument list:aFlagDefines whether the cursor is updateable or not
aQueryA valid SQL query for the database

This method returns an answer set as a cursor object.

The updateable flag controls whether the cursor can be updated or not. Setting it true means the cursor can be used to send an update change to the database. False renders it read only.

See also:Cursor object