public function getViewNames()
    {
        $names = $this->query(
            'SELECT table_name FROM information_schema.tables WHERE table_schema=? AND table_type=?',
            array(
                $this->getTableSchema(),
                'VIEW'
            )
        );
        // Flatten array
        foreach ($names as &$name) {
            $name = $name['table_name'];
        }
        return $names;
    }