def identifies(id, ref):

    return id == ref.alias or id == ref.name or (
        ref.schema and (id == ref.schema + '.' + ref.name))
Updates all documents that pass the filter with the update value
dataset/ETHPy150Open dbcli/pgcli/pgcli/packages/sqlcompletion.py/identifies--crossover with--dataset/ETHPy150Open lvieirajr/mongorest/mongorest/collection.py/Collection.update_many