setState('Create'); $endOfStatement = $sql->getPosition(';'); $statement = $sql->getData($endOfStatement); $sql->setPointer($endOfStatement+1); return $statement; } }