invenio_migrator/legacy/records.py
def _get_modified_recids_invenio12(from_date):
    """Get record ids for Invenio 1."""
    from invenio.search_engine import search_pattern
    from invenio.dbquery import run_sql
    return set((id[0] for id in run_sql(
        'select id from bibrec where modification_date >= %s',
        (from_date, ), run_on_slave=True))), search_pattern
def _get_modified_recids_invenio12(from_date):
    from invenio.search_engine import search_pattern
    from invenio.dbquery import run_sql
    return set((id[0] for id in run_sql(
        'select id from bibrec where modification_date >= %s',
        (from_date, ), run_on_slave=True))), search_pattern
def _get_modified_recids_invenio12 ( from_date ) : from invenio . search_engine import search_pattern from invenio . dbquery import run_sql return set ( ( id [ 0 ] for id in run_sql ( 'select id from bibrec where modification_date >= %s' , ( from_date , ) , run_on_slave = True ) ) ) , search_pattern
Get record ids for Invenio 1.
Get record ids for Invenio 1 .