GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JSON Importer does not use the merge strategy · Issue #1492 · ArcadeData/arcadedb Closed Milestone DescriptionThe JSON importer doesn't merge the records in case they already exist. To reproduce execute: import database emp.json with mapping = { "Users": [{ "@cat": "v", "@type": "User", "@id": "id", "@idType": "string", "@strategy": "merge", "EmployeeID": "@ignore", "ManagerID": { "@cat": "e", "@type": "HAS_MANAGER", "@in": { "@cat": "v", "@type": "User", "@id": "id", "@idType": "string", "@strategy": "merge", "EmployeeID": "@ignore", "id": "<../ManagerID>" } } }] } Error: Dataset: {
"Users":[
{
"id": "1",
"EmployeeID":"1234",
"Name":"Marcus"
},
{
"id": "2",
"EmployeeID":"1230",
"ManagerID":"1234",
"Name":"Win"
},
{
"id": "3",
"EmployeeID":"1232",
"ManagerID":"1234",
"Name":"Dave"
}
]
} Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |