pgcontents/query.py
def _is_in_directory(table, user_id, db_dirname):
    """
    Return a WHERE clause that matches entries in a directory.

    Parameterized on table because this clause is re-used between files and
    directories.
    """
    return and_(
        table.c.parent_name == db_dirname,
        table.c.user_id == user_id,
    )
def _is_in_directory(table, user_id, db_dirname):
    return and_(
        table.c.parent_name == db_dirname,
        table.c.user_id == user_id,
    )
def _is_in_directory ( table , user_id , db_dirname ) : return and_ ( table . c . parent_name == db_dirname , table . c . user_id == user_id , )
Return a WHERE clause that matches entries in a directory.

    Parameterized on table because this clause is re-used between files and
    directories.
Return a WHERE clause that matches entries in a directory .