mozIStorageRow 编辑
Draft
This page is not complete.
The mozIStorageRow
interface represents a row in the result set from a storage database query.
storage/public/mozIStorageRow.idl
Scriptable 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论