server/test/data-cwep002/schema.py
changeset 9968 50f046bf0e50
parent 9956 19a683a0047c
child 10553 1d824df4f2bd
--- a/server/test/data-cwep002/schema.py	Tue Sep 16 16:39:23 2014 +0200
+++ b/server/test/data-cwep002/schema.py	Tue Sep 16 15:28:35 2014 +0200
@@ -27,7 +27,8 @@
     cardinality = '?*'
 
 class Company(EntityType):
-    total_salary = Int()
+    total_salary = Int(formula='Any SUM(SA) GROUPBY X WHERE '
+                       'P works_for X, P salary SA')
 
 class has_employee(ComputedRelation):
     rule = 'O works_for S'