联查表:
1. 在shema中配置外键:

2.在前端使用:
<unicloud-db 
v-slot:default="{data, loading, error, options}" 
:options="formData" 
collection="opendb-news-articles,uni-id-users"
//这里这么写
field="user_id.nickname,user_id._id,avatar,excerpt,last_modify_date,comment_count,like_count,title,content" 
:getone="true" 
:where="where" 
:manual="true" 
ref="detail"
//这个应该可以不写
foreignKey="opendb-news-articles.user_id" 
@load="loadData"><view class="header-content">
//这么用<view class="uni-title">{{data.user_id && data.user_id[0] && data.user_id[0].nickname || '未知'}}</view>
</view>