Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

mozIStorageRow

Draft
This page is not complete.

The mozIStorageRow interface represents a row in the result set from a storage database query.

Please add a summary to this article.
  Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

Inherits from: mozIStorageValueArray

Method overview

nsIVariant getResultByIndex(in unsigned long aIndex);
nsIVariant getResultByName(in AUTF8String aName);

Methods

getResultByIndex()

Returns the value from a specific column in the row, using a zero-based index to identify the column.

nsIVariant getResultByIndex(
  in unsigned long aIndex
);
Parameters
aIndex
The zero-based index of the column number whose value is to be returned.
Return value

An nsIVariant object containing the value of the specified column.

getResultByName()

Returns the value from a specific column in the row, identifying the column by name.

nsIVariant getResultByName(
   in AUTF8String aName
);
Parameters
aName
The name of the column whose value is to be returned.
Return value

An nsIVariant object containing the value of the specified column.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, Jürgen Jeka
 Last updated by: Sheppy,