harmony 鸿蒙oh_cursor.h

  • 2025-06-12
  • 浏览 (6)

oh_cursor.h

Overview

Provides APIs to access the result set obtained by querying the RDB store.

A result set is a set of results returned by query().

File to include:

Library: libnative_rdb_ndk.z.so

Since: 10

Related module: RDB

Summary

Structs

Name Description
OH_Cursor Defines a result set.

Types

Name Description
typedef struct OH_Cursor OH_Cursor Defines a result set.

Functions

Name Description
int OH_Cursor_GetFloatVectorCount (OH_Cursor *cursor, int32_t columnIndex, size_t *length) Obtains the length of a floating-point array in the specified column of the current row.
int OH_Cursor_GetFloatVector (OH_Cursor *cursor, int32_t columnIndex, float *val, size_t inLen, size_t *outLen) Obtains the value in the specified column of the current row in the form of a floating-point array.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkData (ArkData Management)

harmony 鸿蒙Data

harmony 鸿蒙OH_Cursor

harmony 鸿蒙OH_Predicates

harmony 鸿蒙OH_Rdb_Config

harmony 鸿蒙OH_Rdb_Store

harmony 鸿蒙OH_VBucket

harmony 鸿蒙OH_VObject

harmony 鸿蒙Preferences

harmony 鸿蒙_r_d_b

0  赞