select($eventQuery, $ids ?: DBSIMPLE_SKIP); foreach ($events as $e) DB::Aowow()->query('REPLACE INTO ?_events VALUES (?a)', array_values($e)); return true; } ?>