original_docstring: 
              Write this temporary object into database and Elasticsearch.
  
              Also set the id of the object to its corresponding id in
              the database, making the object permanent.
  
              :param bool dup_key_update: if True, when a unique key collides,
                  update the colliding row with new data; else raise the error
              :returns: this object
              :raises AlreadyExists: if insertion results in a unique key
                  collision and dup_key_update is False
              
docstring: Write this temporary object into database and Elasticsearch.
  Also set the id of the object to its corresponding id in
  the database, making the object permanent.
docstring_tokens: Write this temporary object into database and Elasticsearch . Also set the id of the object to its corresponding id in the database making the object permanent .
code: def create(self, dup_key_update=False):
              """
              Write this temporary object into database and Elasticsearch.
  
              Also set the id of the object to its corresponding id in
              the database, making the object permanent.
  
              :param bool dup_key_update: if True, when a unique key collides,
                  update the colliding row with new data; else raise the error
              :returns: this object
              :raises AlreadyExists: if insertion results in a unique key
                  collision and dup_key_update is False
              """
              if self.is_real:
                  raise NotImplementedError
              data = {}
              for key, value in _propsdb.items():
                  data[key] = self._dbdata[value]
  
              if dup_key_update:
                  self._id = database.insert_or_update_row(self.table, data,
                                                           data)
              else:
                  self._id = database.insert_row(self.table, data)
  
              if _esfields:
                  self._escreate()
  
              # Reload with newest data from database
              self._dbdata = None
              self._data
  
              return self
code_tokens: def create ( self , dup_key_update = False ) : if self . is_real : raise NotImplementedError data = { } for key , value in _propsdb . items ( ) : data [ key ] = self . _dbdata [ value ] if dup_key_update : self . _id = database . insert_or_update_row ( self . table , data , data ) else : self . _id = database . insert_row ( self . table , data ) if _esfields : self . _escreate ( ) self . _dbdata = None self . _data return self
short_docstring: Write this temporary object into database and Elasticsearch.
short_docstring_tokens: Write this temporary object into database and Elasticsearch .
comment: """
              Write this temporary object into database and Elasticsearch.
  
              Also set the id of the object to its corresponding id in
              the database, making the object permanent.
  
              :param bool dup_key_update: if True, when a unique key collides,
                  update the colliding row with new data; else raise the error
              :returns: this object
              :raises AlreadyExists: if insertion results in a unique key
                  collision and dup_key_update is False
              """$SEP$# Reload with newest data from database