Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

插入或者更新拿不到字段名称 #333

Open
yasin-bj opened this issue Apr 6, 2021 · 2 comments
Open

插入或者更新拿不到字段名称 #333

yasin-bj opened this issue Apr 6, 2021 · 2 comments

Comments

@yasin-bj
Copy link

yasin-bj commented Apr 6, 2021

image

这里恒为false,请问是需要客户端自行去维护字段索引和字段名称的对应关系吗

@sheiy
Copy link

sheiy commented Nov 11, 2021

https://github.com/sheiy/db-history 看下我这里吧

@jssqsyy
Copy link

jssqsyy commented Dec 30, 2022

字段顺序是按照数据库中定义的顺序排列的,你只能根据数组下标来判断当前value对应哪个column,你可以将映射关系提前维护好存储在缓存或者配置文件中,或者每次都从数据库中动态查询,我是这样做的。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants