Skip to content

Commit 0f19e1d

Browse files
author
Burak Serdar
committed
More forgotten tests
1 parent a87a930 commit 0f19e1d

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"entityInfo" : {
3+
"name": "A_def",
4+
"datastore": {
5+
"backend":"mongo",
6+
"datasource": "mongodata",
7+
"collection": "user"
8+
}
9+
},
10+
"schema" : {
11+
"name" : "A_def",
12+
"version": {
13+
"value": "1.0.0",
14+
"changelog": "Test"
15+
},
16+
"status": {
17+
"value": "active"
18+
},
19+
"access" : {
20+
"insert": ["anyone"],
21+
"find":["anyone"],
22+
"update":["anyone"],
23+
"delete":["anyone"]
24+
},
25+
"fields": {
26+
"_id": {"type": "string" },
27+
"objectType": {"type": "string"},
28+
"field1": { "type": "string" },
29+
"obj1": {
30+
"type":"object",
31+
"fields": {
32+
"field1": { "type":"string" },
33+
"c_ref":{"type":"string"},
34+
"c": {
35+
"type":"reference",
36+
"entity":"C",
37+
"query":{"field":"_id","op":"$eq","rfield":"$parent.c_ref"}
38+
}
39+
}
40+
},
41+
"b_ref": { "type": "string" },
42+
"b" : {
43+
"type":"reference",
44+
"entity":"B",
45+
"query":{ "field":"_id","op":"$eq","rfield":"$parent.b_ref"}
46+
}
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)