def getDatabases(self):
cur = self._conn.cursor()<EOL>cur.execute("""<STR_LIT>""")<EOL>rows = cur.fetchall()<EOL>if rows:<EOL><INDENT>return [row[<NUM_LIT:0>] for row in rows]<EOL><DEDENT>else:<EOL><INDENT>return []<EOL><DEDENT>
Returns list of databases.

        @return: List of databases.