Tencent / wcdb

WCDB is a cross-platform database framework developed by WeChat.
Other
10.84k stars 1.41k forks source link

C++ support for 自定义字段映射类型 #1140

Closed xyz1001 closed 3 months ago

xyz1001 commented 3 months ago

The language of WCDB

e.g. Objective-C, Swift or Java

C++

The version of WCDB

e.g. v1.0.5

2.1.6

The platform of WCDB

e.g. iOS, macOS or Android

ubuntu

The installation of WCDB

e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone

Git clone

What's the issue?

C++接口是否支持自定义字段映射类型?如果没有,有什么间接的实现途径么

Post the outputs or screenshots for errors.

Explain what you want by example or code in English.

Qiuwen-chen commented 3 months ago

It is not very useful to support custom field mapping for C++. You can write code to convert data between your type and supported types.