harmony 鸿蒙OH_Cursor
OH_Cursor
Overview
Provides APIs to access the result set obtained by querying the RDB store.
Since: 10
Related module: RDB
Summary
Member Variables
| Name | Description |
|---|---|
| id | Unique identifier of the OH_Cursor struct. |
| getColumnCount | Pointer to the function used to obtain the number of columns in the result set. |
| getColumnType | Pointer to the function used to obtain the column type based on the specified column index. |
| getColumnIndex | Pointer to the function used to obtain the column index based on the specified column name. |
| getColumnName | Pointer to the function used to obtain the column name based on the specified column index. |
| getRowCount | Pointer to the function used to obtain the number of rows in the result set. |
| goToNextRow | Pointer to the function used to go to the next row of the result set. |
| getSize | Pointer to the function used to obtain information about the memory required when the column data type in the result set is BLOB or TEXT. |
| getText | Pointer to the function used to obtain the value of the string type based on the specified column and the current row. |
| getInt64 | Pointer to the function used to obtain the value of the int64_t type based on the specified column and the current row. |
| getReal | Pointer to the function used to obtain the value of the double type based on the specified column and the current row. |
| getBlob | Pointer to the function used to obtain the values in the form of a byte array based on the specified column and the current row. |
| isNull | Pointer to the function used to check whether the value in the specified column is null. |
| destroy | Pointer to the function used to close a result set. |
| getAsset | Pointer to the function used to obtain the value of the asset type based on the specified column and current row. |
| getAssets | Pointer to the function used to obtain the values in the form of an asset array based on the specified column and current row. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 openharmony
-
9、 golang