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