Draft
This page is not complete.

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

storage/public/mozIStorageRow.idlScriptable
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