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
핵심 기술 데이터를 일치시켜야합니다. –
당신이하려는 일에 대해 정교하게 다룰 필요가 있습니다. –