1# oh_values_bucket.h
2
3
4## Overview
5
6Defines the types of the key and value in a key-value (KV) pair.
7
8**File to include**: <database/rdb/oh_values_bucket.h>
9
10**Library**: libnative_rdb_ndk.z.so
11
12**Since**: 10
13
14**Related module**: [RDB](_r_d_b.md)
15
16
17## Summary
18
19
20### Structs
21
22| Name| Description|
23| -------- | -------- |
24| [OH_VBucket](_o_h___v_bucket.md) | Defines the types of the key and value in a KV pair.|
25
26
27### Types
28
29| Name| Description|
30| -------- | -------- |
31| [OH_VBucket](_r_d_b.md#oh_vbucket) | Indicates the types of the key and value in a KV pair. |
32### Functions
33
34| Name| Description|
35| -------- | -------- |
36| int [OH_VBucket_PutAsset](_r_d_b.md#oh_vbucket_putasset) ([OH_VBucket](_o_h___v_bucket.md) \*bucket, const char \*field, OH_Asset \*value) | Puts an **OH_Asset** object into the [OH_VBucket](_o_h___v_bucket.md) object in the given column.|
37| int [OH_VBucket_PutAssets](_r_d_b.md#oh_vbucket_putassets) ([OH_VBucket](_o_h___v_bucket.md) \*bucket, const char \*field, OH_Asset \*\*value, int count) | Puts an array of **OH_Asset** objects into the [OH_VBucket](_o_h___v_bucket.md) object in the given column.|
38