harmony 鸿蒙OH_Cursor
OH_Cursor
Overview
Defines a result set.
It provides APIs to access the result set obtained by querying the RDB store.
Since
10
Related Modules
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 in the form of a string 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 value 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. | 
你可能感兴趣的鸿蒙文章
                        
                            0
                        
                        
                             赞
                        
                    
                    
                - 所属分类: 后端技术
- 本文标签:
热门推荐
- 
                        2、 - 优质文章
- 
                        3、 gate.io
- 
                        8、 openharmony
- 
                        9、 golang