def markLoaded(self, *columns):
schema = self.schema()<EOL>columns = {schema.column(col) for col in columns}<EOL>column_names = {col.name() for col in columns}<EOL>with WriteLocker(self.__dataLock):<EOL><INDENT>for key, (old_value, new_value) in self.__values.items():<EOL><INDENT>if key in column_names:<EOL><INDENT>self.__values[key] = (new_value, new_value)<EOL><DEDENT><DEDENT>self.__loaded.update(columns)<EOL><DEDENT>
Tells the model to treat the given columns as though they had been loaded from the database.

:param columns: (<str>, ..)