input: Write a function to define a Django-like ORM model with standard CRUD (Create, Read, Update, Delete) functionality. The model should include methods to create a new record, read all records, update a record, and delete a record. The model will use SQLite as the database. The function should return a class with these methods.
  
  class Model:
  
    def __init__(self):
      self.conn = sqlite3.connect(":memory:")
      self.cursor = self.conn.cursor()
  
    def create(self,name):
      self.cursor.execute(
  			"CREATE TABLE IF NOT EXISTS Models (name TEXT)"
  		)
      self.cursor.execute(
  			"INSERT INTO Models(name) VALUES (?)",
  			(name,),
  		)
      self.conn.commit()
  
    def read(self):
      self.cursor.execute("SELECT * FROM Models")
      return self.cursor.fetchall()
  
    def update(self,name):
      self.cursor.execute(
  			"UPDATE Models SET name = ? WHERE name = ?", 
  			(name, name,),
  		)
      self.conn.commit()
    
    def delete(self, name):
      self.cursor.execute(
  			"DELETE FROM Models WHERE name = ?",
  			(name,),
  		)
      self.conn.commit()
  
  assert Model().create("test") is None
  assert Model().read() == [('test',)]
  assert Model().update("updated_test") is None
  assert Model().read() == [('updated_test',)]
  assert Model().delete("updated_test") is None
  assert Model().read() == []
output: 
  class Model:
  
    def __init__(self):
      self.conn = sqlite3.connect(":memory:")
      self.cursor = self.conn.cursor()
  
    def create(self,name):
      self.cursor.execute(
  			"CREATE TABLE IF NOT EXISTS Models (name TEXT)"
  		)
      self.cursor.execute(
  			"INSERT INTO Models(name) VALUES (?)",
  			(name,),
  		)
      self.conn.commit()
  
    def read(self):
      self.cursor.execute("SELECT * FROM Models")
      return self.cursor.fetchall()
  
    def update(self,name):
      self.cursor.execute(
  			"UPDATE Models SET name = ? WHERE name = ?", 
  			(name, name,),
  		)
      self.conn.commit()
    
    def delete(self, name):
      self.cursor.execute(
  			"DELETE FROM Models WHERE name = ?",
  			(name,),
  		)
      self.conn.commit()
  