MCPcopy Index your code
hub / github.com/clips/pattern / rollback

Method rollback

pattern/db/__init__.py:552–555  ·  view source on GitHub ↗

Discard changes since the last commit.

(self)

Source from the content-addressed store, hash-verified

550 self._connection.commit()
551
552 def rollback(self):
553 """ Discard changes since the last commit.
554 """
555 self._connection.rollback()
556
557 def escape(self, value):
558 """ Returns the quoted, escaped string (e.g., "'a bird\'s feathers'") for database entry.

Callers 1

Calls

no outgoing calls

Tested by 1