method deleteCompleted documentation in bbn\Appui\Dbsync

function(float $start = NULL) { if (!self::isInit()) { die("DB sync is not initiated"); } if (!$start || !($start = self::$dbs->selectOne(self::$dbs_table, 'MIN(chrono)', [ ['db', 'NOT LIKE', self::$db->getCurrent()], 'state' => 0 ])) ) { $start = time(); } // Deleting the entries prior to this sync we produced and have been seen by the twin process return self::$dbs->delete(self::$dbs_table, [ 'db' => self::$db->getCurrent(), 'state'=> 1, ['chrono', '<', $start] ]); }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.