invenio_migrator/legacy/bibdocfile.py
def _get_recids_invenio12(from_date):
    """Get BibDocs for Invenio 1."""
    from invenio.dbquery import run_sql
    return (id[0] for id in run_sql(
        'select id_bibrec from '
        'bibrec_bibdoc as r join bibdoc as d on r.id_bibdoc=d.id '
        'where d.modification_date >=%s',
        (from_date, ), run_on_slave=True))
def _get_recids_invenio12(from_date):
    from invenio.dbquery import run_sql
    return (id[0] for id in run_sql(
        'select id_bibrec from '
        'bibrec_bibdoc as r join bibdoc as d on r.id_bibdoc=d.id '
        'where d.modification_date >=%s',
        (from_date, ), run_on_slave=True))
def _get_recids_invenio12 ( from_date ) : from invenio . dbquery import run_sql return ( id [ 0 ] for id in run_sql ( 'select id_bibrec from ' 'bibrec_bibdoc as r join bibdoc as d on r.id_bibdoc=d.id ' 'where d.modification_date >=%s' , ( from_date , ) , run_on_slave = True ) )
Get BibDocs for Invenio 1.
Get BibDocs for Invenio 1 .