mozIStorageBindingParamsArray

The mozIStorageBindingParamsArray interface is a container for mozIStorageBindingParams objects, and is used to store sets of bound parameters that will be used by the mozIStorageStatement.executeAsync().

Please add a summary to this article.
  Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)

Inherits from: nsISupports

You can only create these objects by calling the mozIStorageStatement.newBindingParamsArray().

Method overview

void addParams(in mozIStorageBindingParams aParameters);
mozIStorageBindingParams newBindingParams();

 Attributes

Attribute Type Description
length unsigned long The number of mozIStorageBindingParams objects in the array.

Methods

addParams()

Adds the specified set of parameters to the end of the array. The appended parameters will be used when mozIStorageStatement.executeAsync() is called.

void addParams(
  in mozIStorageBindingParams aParameters
);
Parameters
aParameters
The mozIStorageBindingParams object containing the parameters to append to the array.

newBindingParams()

Creates and returns a new, empty, mozIStorageBindingParams object to which you can add parameters and their values for binding.

mozIStorageBindingParams newBindingParams();
Parameters

None.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, sdwilsh
 Last updated by: Sheppy,