0
如何從兩個json文檔中找到匹配的數據。例如:我有兩個json文檔和技能json文檔。如何從couchdb中的兩個json文檔中找到匹配的數據?
技能憑證:
{
"_id": "b013dcf12d1f7d333467b1447a00013a",
"_rev": "3-e54ad6a14046f809e6da872294939f12",
"core_skills": [
{
"core_skill_code": "SA1",
"core_skill_desc": "communicate with others in writing"
},
{
"core_skill_code": "SA2",
"core_skill_desc": "complete accurate well written work with attention to detail"
},
{
"core_skill_code": "SA3",
"core_skill_desc": "follow guidelines/procedures/rules and service level agreements"
},
{
"core_skill_code": "SA4",
"core_skill_desc": "ask for clarification and advice from others"
}
]}
在員工文件:
{
"_id": "b013dcf12d1f7d333467b12350007op",
"_rev": "3-e54ad6a14046f809e6da156794939f12",
"employee_name" :"Ashwin",
"employee_role" : "Software engineer",
"core_skills":["SA1","SA4"]
}
那麼你試圖匹配的數據是什麼? – RobG 2014-10-17 06:44:32
我需要匹配核心技能數據。 – 2014-10-17 06:54:25
您需要詳細說明您要做什麼。 – 2014-10-17 22:23:09