Aggregation newAggregation = Aggregation.newAggregation( Aggregation.lookup('B','userid','userid','userinfo'),//從表名,主表聯(lián)接字段,從表聯(lián)接字段,別名 Aggregation.unwind("$userrole"), Aggregation.match(criteria), Aggreg
www.dbjr.com.cn/article/2086...htm 2025-6-8