Esempio n. 1
0
 /**
  * @see lib/pkp/classes/oai/PKPOAIDAO::getEarliestDatestamp()
  */
 function getEarliestDatestamp($setIds = array())
 {
     return parent::getEarliestDatestamp('SELECT	CASE WHEN COALESCE(dot.date_deleted, a.last_modified) > i.last_modified THEN i.last_modified ELSE COALESCE(dot.date_deleted, a.last_modified) END', $setIds);
 }
Esempio n. 2
0
 /**
  * @see lib/pkp/classes/oai/PKPOAIDAO::getEarliestDatestamp()
  */
 function getEarliestDatestamp($setIds = array())
 {
     return parent::getEarliestDatestamp('SELECT	MIN(COALESCE(dot.date_deleted, a.last_modified))', $setIds);
 }