Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
apply the given filtering criterion to a copy
of this :class:`.Query`, using SQL expressions.

e.g.::

    session.query(MyClass).filter(MyClass.name == 'some name')

Multiple criteria are joined together by AND::

    session.query(MyClass).\(more...)

src/j/u/june-HEAD/june/models/_base.py   june(Download)
                return {}
            return {ident: rv}
        items = self.filter(model.in_(values))
        dct = {}
        for item in items:

src/m/i/microblog-HEAD/flask/lib/python2.7/site-packages/flask_whooshalchemy.py   microblog(Download)
 
            # XXX is this efficient?
            return self.filter('null')
 
        result_set = set()
            result_ranks[pk] = rank
 
        f = self.filter(getattr(self._modelclass,
            self._primary_key_name).in_(result_set))
 

src/f/l/Flask-WhooshAlchemy-0.55/flask_whooshalchemy.py   Flask-WhooshAlchemy(Download)
 
            # XXX is this efficient?
            return self.filter('null')
 
        result_set = set()
            result_ranks[pk] = rank
 
        f = self.filter(getattr(self._modelclass,
            self._primary_key_name).in_(result_set))
 

src/f/l/Flask-WhooshAlchemy-HEAD/flask_whooshalchemy.py   Flask-WhooshAlchemy(Download)
 
            # XXX is this efficient?
            return self.filter('null')
 
        result_set = set()
            result_ranks[pk] = rank
 
        f = self.filter(getattr(self._modelclass,
            self._primary_key_name).in_(result_set))
 

src/f/l/flaskbbs-HEAD/flaskcommon/auth/models.py   flaskbbs(Download)
    def search(self, key):
        query = self.filter(db.or_(User.auth_id==key,
            User.nickname.ilike('%'+key+'%'),
            User.username.ilike('%'+key+'%')))
        return query

src/f/l/flask-whooshee-0.0.6/flask_whooshee.py   flask-whooshee(Download)
                               match_substrings=match_substrings)
        if not res:
            return self.filter('null')
 
        # transform unique field name into model attribute field
                    attr = getattr(m, uniq.split('_')[1])
 
        return self.filter(attr.in_(res))
 
class AbstractWhoosheer(object):