好的,我需要打开灯泡。我已经为此苦苦挣扎了将近一个星期,而且越来越困惑。
我有这些收藏:
Customers
Orders (linked to Customer by Customer_id)
OrderLines (linked to Order by Order_id)
Salesreps (linked to Customer by Customer_id)
我没有任何嵌入式文档。
我想要做的是获取包含以下内容的数据字符串:
Customer_1
Order#1:First_OrderLine_of_Order_Number
Order#n:First_OrderLine_of_Order_Number
SalesRep_of_Customer_Name
...
Customer_n
Order#1:First_OrderLine_of_Order_Number
Order#n:First_OrderLine_of_Order_Number
SalesRep_of_Customer_Name
有人可以给我伪代码来解释如何在节点和猫鼬中做到这一点吗?我需要学习如何钓鱼;)