|
@ -299,10 +299,13 @@ struct executor_param { |
|
|
`value_log 中:|value 长度 | slot_num | attr个数(定长) | attr1_name的长度(定长) | attr1_name(变长) | attr1_value的长度(定长) | attr1_value(变长) | ... |` |
|
|
`value_log 中:|value 长度 | slot_num | attr个数(定长) | attr1_name的长度(定长) | attr1_name(变长) | attr1_value的长度(定长) | attr1_value(变长) | ... |` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**读操作:** |
|
|
|
|
|
|
|
|
**写操作:** |
|
|
|
|
|
|
|
|
`Status DBImpl::Put_Fields(const WriteOptions& opt, const Slice& key, const FieldArray& fields)` |
|
|
`Status DBImpl::Put_Fields(const WriteOptions& opt, const Slice& key, const FieldArray& fields)` |
|
|
|
|
|
|
|
|
|
|
|
**流程图:** |
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
**功能:** |
|
|
**功能:** |
|
|
|
|
|
|
|
|
将传入的字段数组插入数据库中 |
|
|
将传入的字段数组插入数据库中 |
|
|