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))
def select_content(self, *q): if q: q = query._and(*q) else: q = query.all() return self.driver.con_select(self.session, q)
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))