query("SELECT NEXTVAL('$sequence')"); $data = $stmt->fetch(PDO::FETCH_NUM); return $data[0]; } /** * returns the regular expression operator * (implemented by the connection drivers) * * @return string */ public function getRegexpOperator() { return 'SIMILAR TO'; } }