Updated Sync ES (markdown)

rewerma
2019-09-26 08:56:33 +08:00
parent 1a1dcf115a
commit c6a7f286b6

@@ -213,6 +213,16 @@ left join (select user_id, group_concat(label order by id desc separator ';') as
objFields:
labels: array:;
```
- 对象字段
```
select a.id as _id, a.name, a.role_id, c.labels, a.c_time, a.description from user a
```
配置中使用:
```
objFields:
description: object
```
其中a.description字段内容为json字符串
- 父子文档索引
es/customer.yml