Connection.cursor() (Method)

Create a cursor object on the connection with the SQL database.


JavaScript - 1.2
Netscape Enterprise server - 3.0
Property/method value type:Cursor object
JavaScript syntax:NESmyConnection.cursor(aQuery)
NESmyConnection.cursor(aQuery, aFlag)
Argument list:aQueryA valid SQL query for the database
aFlagIndicates whether the cursor can be updated

These Cursor objects are used to run SQL queries against the database we are currently connected to. It is probably a good idea to consult the reference documentation for your database to fully understand how it handles cursors.

See also:Cursor object