harmony 鸿蒙oh_cursor.h

2025-06-12 浏览 (1)

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: <database/rdb/oh_cursor.h>

Library: libnative_rdb_ndk.z.so

Since: 10

Related module: RDB

Summary

Structs

NameDescription
OH_CursorDefines a result set.

Types

NameDescription
typedef struct OH_Cursor OH_CursorDefines a result set.

Functions

NameDescription
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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/xkNYxV