Skip to content

Instantly share code, notes, and snippets.

@CrackedBeefcake
Created September 27, 2016 15:54
Show Gist options
  • Save CrackedBeefcake/491eb8c7777724f33bc34254e9c65c59 to your computer and use it in GitHub Desktop.
Save CrackedBeefcake/491eb8c7777724f33bc34254e9c65c59 to your computer and use it in GitHub Desktop.
const testSet = [
{
"_id": "ZYFinBHQYP9PtAvmZ",
"search": {
"usage": [
"userAssessment",
"targetAnalyzing"
],
"test": [
"knowledgeTest",
"intelligence",
"personality"
],
"targetCategory": [
"jobSatisfaction",
"teamBuilding",
"stress",
"defizitanalyse",
"cooperation"
],
},
"usage": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "userAssessment",
},
{
"name": "targetAnalyzing",
}
]
},
"test": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "knowledgeTest",
},
{
"name": "intelligence",
},
{
"name": "personality",
},
]
},
"targetCategory": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "jobSatisfaction",
},
{
"name": "teamBuilding",
},
{
"name": "stress",
},
{
"name": "defizitanalyse",
},
{
"name": "cooperation",
}
]
},
},
{
"_id": "bRtjhGNQ3eNqTiKWa",
"search": {
"test": [
"knowledgeTest",
"feedback"
],
"usage": [
"consumerGrading"
]
},
"test": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "knowledgeTest",
},
{
"name": "feedback",
}
]
},
"usage": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "consumerGrading",
}
]
}
}
{
"_id": "gRejhGNQ3eNqTiKGa",
"search": {
"test": [
"socialAbilitys",
],
},
"test": {
"type": {
"type": "list",
"chooseMany": false
},
"vals": [
{
"name": "socialAbilitys",
}, }
]
}
}
]
let query = {
"test": [
"socialAbilitys",
"intelligence"
],
"usage": [
"userAssessment",
"socialAbilitys",
"targetAnalyzing"
],
"targetCategory": [
"jobSatisfaction",
"teamBuilding",
"stress",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment