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

如何不适用lua脚本,实现多个主键合并为一个key (同步到redis) #117

Open
zhengguoxin opened this issue Jun 23, 2022 · 1 comment

Comments

@zhengguoxin
Copy link

我的mysql数据表有2个主键,这2个主键需要拼接为一个完整的key,请问在go-mysql-transfer中如何实现,谢谢

默认好像只能填写一个主键

redis_key_column: USER_NAME #使用哪个列的值作为key,不填写默认使用主键

@54huige
Copy link

54huige commented Nov 12, 2022

这么好的lua为啥不用哦

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

2 participants