CursorsManager

ancient-cursor. CursorsManager

A small registrar of cursors. Sends into Cursor constructor unique id and link to current manager.

Constructor

new CursorsManager()

Source:

Methods

cursorDestroyed(cursor)

Calls if used cursor.destroy method. Call this.adapterCursorDestroyed method. Remove cursor from this.cursors hash.

Source:
Parameters:
Name Type Description
cursor Cursor

new(query, data)

Constructs new CursorsManager#Cursor with unique id within current manager. Set constructed cursor into this.cursors. Call this.adapterCustorConstructed method.

Source:
Parameters:
Name Type Description
query
data

renew(cursor, queryopt, dataopt)

If cursor not destroyed, throw error.

Source:
Parameters:
Name Type Attributes Description
cursor Cursor
query <optional>
data <optional>
Throws:

Cursor must be destroyed.