Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
mozISqlRequest Interface Reference

A request interface used during an asynchronous SQL query or update operation. More...

import "mozISqlRequest.idl";

Inheritance diagram for mozISqlRequest:
Inheritance graph
[legend]
Collaboration diagram for mozISqlRequest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void cancel ()
 Cancels the operation.

Public Attributes

readonly attribute AString errorMessage
 The most recent error message.
readonly attribute mozISqlResult result
 The result of the operation.
readonly attribute long affectedRows
 The number of rows that were affected during an update.
readonly attribute long lastID
 The ID of the most recently added record.
readonly attribute AString query
 The SQL query.
readonly attribute nsISupports ctxt
 The context passed to the connection's asyncExecuteQuery or asyncExecuteUpdate method.
readonly attribute
mozISqlRequestObserver 
observer
 The observer that listens for when the request is finished.
const long STATUS_NONE = 0
 Status codes.
const long STATUS_EXECUTED = 1
const long STATUS_COMPLETE = 2
const long STATUS_ERROR = 3
const long STATUS_CANCELLED = 4
readonly attribute long status
 The status of the request.

Detailed Description

A request interface used during an asynchronous SQL query or update operation.

UNDER_REVIEW

Definition at line 50 of file mozISqlRequest.idl.


Member Function Documentation

Cancels the operation.


Member Data Documentation

The number of rows that were affected during an update.

Definition at line 65 of file mozISqlRequest.idl.

readonly attribute nsISupports mozISqlRequest::ctxt

The context passed to the connection's asyncExecuteQuery or asyncExecuteUpdate method.

Definition at line 81 of file mozISqlRequest.idl.

The most recent error message.

Definition at line 55 of file mozISqlRequest.idl.

The ID of the most recently added record.

Definition at line 70 of file mozISqlRequest.idl.

The observer that listens for when the request is finished.

Methods of the observer should be called by the request.

Definition at line 87 of file mozISqlRequest.idl.

readonly attribute AString mozISqlRequest::query

The SQL query.

Definition at line 75 of file mozISqlRequest.idl.

The result of the operation.

Definition at line 60 of file mozISqlRequest.idl.

The status of the request.

Definition at line 101 of file mozISqlRequest.idl.

Definition at line 96 of file mozISqlRequest.idl.

Definition at line 94 of file mozISqlRequest.idl.

Definition at line 95 of file mozISqlRequest.idl.

Definition at line 93 of file mozISqlRequest.idl.

Status codes.

Definition at line 92 of file mozISqlRequest.idl.


The documentation for this interface was generated from the following file: