[Checkins] SVN: Sandbox/ocql-foliage/src/

Adam Groszer agroszer at gmail.com
Mon Sep 24 17:04:12 EDT 2007


Log message for revision 79910:
  

Changed:
  U   Sandbox/ocql-foliage/src/status.txt
  U   Sandbox/ocql-foliage/src/test.py

-=-
Modified: Sandbox/ocql-foliage/src/status.txt
===================================================================
--- Sandbox/ocql-foliage/src/status.txt	2007-09-24 20:59:14 UTC (rev 79909)
+++ Sandbox/ocql-foliage/src/status.txt	2007-09-24 21:04:11 UTC (rev 79910)
@@ -1,6 +1,9 @@
 Here are the statuses, problems and TODO of each component:
 ===========================================================
 
+Main TODOS:
+
+
 queryparser.py
 ==============
 Stub of query parser at the moment

Modified: Sandbox/ocql-foliage/src/test.py
===================================================================
--- Sandbox/ocql-foliage/src/test.py	2007-09-24 20:59:14 UTC (rev 79909)
+++ Sandbox/ocql-foliage/src/test.py	2007-09-24 21:04:11 UTC (rev 79910)
@@ -2,8 +2,11 @@
 engine = OCQLEngine()
 
 query = engine.compile("""set [ c in ICurses; d in IDepartments; d.name="Computing Science"; d = some c.runBy; 1<=c.credits; c.credits <= 3 | c ]""") 
-print query.execute() 
+res = query.execute()
 
+for i in res:
+    print i.name
+
 #q=Iter(set, Lambda('d', 
 #        If(Eq(Identifier('d.name'),Identifier('"Computing Science"')),
 #            Single(set,Identifier('x')),



More information about the Checkins mailing list