def getDbNames(self):
		"""This function returns the list of open databases"""

		request = []
		request.append(uu({'-dbnames': '' }))

		result = self._doRequest(request)
		result = FMResultset.FMResultset(result)

		dbNames = []
		for dbName in result.resultset:
			dbNames.append(string.lower(dbName['DATABASE_NAME']))

		return dbNames
def getDbNames ( self ) : request = [ ] request . append ( uu ( { '-dbnames' : '' } ) ) result = self . _doRequest ( request ) result = FMResultset . FMResultset ( result ) dbNames = [ ] for dbName in result . resultset : dbNames . append ( string . lower ( dbName [ 'DATABASE_NAME' ] ) ) return dbNames
This function returns the list of open databases