功能:增强 Schema 系统和添加新示例
- 扩展 Schema 支持更多数据类型(Duration、URL、JSON 等) - 优化 SSTable 编码解码性能 - 添加多个新示例程序: - all_types: 展示所有支持的数据类型 - new_types: 演示新增类型的使用 - struct_tags: 展示结构体标签功能 - time_duration: 时间和持续时间处理示例 - 完善测试用例和文档 - 优化代码结构和错误处理
This commit is contained in:
24
test_db/schema.json
Normal file
24
test_db/schema.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"version": 1,
|
||||
"timestamp": 1760032965,
|
||||
"checksum": "928ea259547899e3e7e8c48bb815d3fa27c1ed93d075a6d573bdb66afd5ca91e",
|
||||
"schema": {
|
||||
"Name": "test",
|
||||
"Fields": [
|
||||
{
|
||||
"Name": "name",
|
||||
"Type": 13,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "用户名"
|
||||
},
|
||||
{
|
||||
"Name": "age",
|
||||
"Type": 5,
|
||||
"Indexed": false,
|
||||
"Nullable": false,
|
||||
"Comment": "年龄"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user