parameters: (default=None)
return_statement: return ida.AskStr(default,'Select a database by name')
docstring: Prompts the user to enter a databse name, with an optional default.
      If no default is specified, the first database returned by MongoDB is
      used as a default.
  
      Returns:
          String name of database the user entered
docstring_summary: Prompts the user to enter a databse name, with an optional default.
      If no default is specified, the first database returned by MongoDB is
      used as a default.
docstring_tokens: Prompts the user to enter a databse name with an optional default . If no default is specified the first database returned by MongoDB is used as a default .
function: def AskUserSelectDatabase(default=None):
      """Prompts the user to enter a databse name, with an optional default.
      If no default is specified, the first database returned by MongoDB is
      used as a default.
  
      Returns:
          String name of database the user entered
      """
      DbNames = DatabaseNames()
      if not len(DbNames):
          print "There are no databases containing a file with MD5 %s" % ida.GetInputFileMD5()
      if default is None:
          default  = '' if not DbNames else DbNames[0]
      return ida.AskStr(default,'Select a database by name')
function_tokens: def AskUserSelectDatabase ( default = None ) : DbNames = DatabaseNames ( ) if not len ( DbNames ) : print "There are no databases containing a file with MD5 %s" % ida . GetInputFileMD5 ( ) if default is None : default = '' if not DbNames else DbNames [ 0 ] return ida . AskStr ( default , 'Select a database by name' )