还是不太明白多张表同步到一个 index 中要怎么做
我的场景是这样的,有两张表users, profiles。profiles 表通过字段 user_id外键关联到 users 表,其中两条数据是这样的
users:
+----+------------+-----------------+
| id | username | email |
+----+------------+-----------------+
| 1 | ccnn | hello@gmail.com |
| 13 | kerangreen | NULL |
+----+------------+-----------------+
profiles
+-----+---------+---------------+------------------------+
| id | user_id | name | description |
+-----+---------+---------------+------------------------+
| 1 | 13 | 冰堂雪莉 | NULL |
| 119 | 1 | hello 4公主 | 4公主吃灰了哈哈 |
+-----+---------+---------------+------------------------+
我尝试这样配置:
[[rule]]
schema = "test"
table = "users&