input: Write a function that implements a Django-like ORM (Object-Relational Mapping) with standard CRUD (Create, Read, Update, Delete) functionalities for a model named `Model` with a single attribute `name` of type string. The function should include methods for creating, reading, updating, and deleting records in an in-memory SQLite database. Each method should handle its respective database operation appropriately.
          assert Model().create('test1') == True
          assert Model().read() == [('test1',)]
          assert Model().update('test2') == True
          assert Model().read() == [('test2',)]
          assert Model().delete('test2') == True
          assert Model().read() == []
output: def create(self, name):
      self.name = name
      return True
  
  def read(self):
      return [(self.name,)] if hasattr(self, 'name') else []
  
  def update(self, new_name):
      if hasattr(self, 'name'):
          self.name = new_name
          return True
      return False
  
  def delete(self, name):
      if hasattr(self, 'name') and self.name == name:
          del self.name
          return True
      return False