Bug 562787 - Fix getResultByName idl description to specify it needs an AS clause. r=asuth

This commit is contained in:
Marco Bonardo 2010-05-05 15:28:01 +02:00
Родитель 49a75249ad
Коммит a0dd247d6f
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -53,11 +53,14 @@ interface mozIStorageRow : mozIStorageValueArray {
nsIVariant getResultByIndex(in unsigned long aIndex);
/**
* Obtains the result of a given column specified by aIndex.
* Obtains the result of a given column specified by aName.
*
* @param aName
* Name of the result to get from the tuple.
* @returns the result of the specified column.
* @note The name of a result column is the value of the "AS" clause for that
* column. If there is no AS clause then the name of the column is
* unspecified and may change from one release to the next.
*/
nsIVariant getResultByName(in AUTF8String aName);
};