class_docstr: The MongoDatabaseAdapter is an interface that allows
  ChatterBot to store statements in a MongoDB database.
  
  :keyword database_uri: The URI of a remote instance of MongoDB.
                         This can be any valid
                         `MongoDB connection string <https://docs.mongodb.com/manual/reference/connection-string/>`_
  :type database_uri: str
  
  .. code-block:: python
  
     database_uri='mongodb://example.com:8100/'
class_docstr_tok: ["The","MongoDatabaseAdapter","is","an","interface","that","allows","ChatterBot","to","store","statements","in","a","MongoDB","database",".",":","keyword","database_uri",":","The","URI","of","a","remote","instance","of","MongoDB",".","This","can","be","any","valid","`","MongoDB","connection","string","<","https",":","\/\/docs.mongodb.com\/manual\/reference\/connection-string\/",">","`","_",":","type","database_uri",":","str","..","code-block",":",":","python","database_uri='mongodb",":","\/\/example.com:8100\/","'"]
docstr: Creates multiple statement entries.
docstr_tok: ["Creates","multiple","statement","entries","."]
code: def create_many(self, statements):
      """
      Creates multiple statement entries.
      """
      create_statements = []
  
      for statement in statements:
          statement_data = statement.serialize()
          tag_data = list(set(statement_data.pop("tags", [])))
          statement_data["tags"] = tag_data
  
          if not statement.search_text:
              statement_data[
                  "search_text"
              ] = self.tagger.get_text_index_string(statement.text)
  
          if (
              not statement.search_in_response_to
              and statement.in_response_to
          ):
              statement_data[
                  "search_in_response_to"
              ] = self.tagger.get_text_index_string(
                  statement.in_response_to
              )
  
          create_statements.append(statement_data)
  
      self.statements.insert_many(create_statements)
  
file_path: ChatterBot/chatterbot/storage/mongodb.py
imports: import re
  from chatterbot.storage import StorageAdapter
label_desc: Use image node_id 7 for calling the MongoDatabaseAdapter obj's underlying member method code with example usage: obj.create_many(statements) without return types