Example #1
0
 def select(self, *q):
     if q:
         q = query._and(*q)
     else:
         q = query.all()
     return self.store.driver.con_select(
         self.store.session, query._and(query.context(self.id), q))
Example #2
0
 def select_content(self, *q):
     if q:
         q = query._and(*q)
     else:
         q = query.all()
     return self.driver.con_select(self.session, q)
Example #3
0
 def select_content(self, *q):
     if q:
         q = query._and(*q)
     else:
         q = query.all()
     return self.driver.con_select(self.session, q)
Example #4
0
 def select(self, *q):
     if q:
         q = query._and(*q)
     else:
         q = query.all()
     return self.store.driver.con_select(self.store.session, query._and(query.context(self.id), q))