DurableObjectSqlStoragePersister
The DurableObjectSqlStoragePersister interface represents a Persister that lets you save and load Store data to and from Cloudflare Durable Object SQL storage.
You should use the createDurableObjectSqlStoragePersister function to create a DurableObjectSqlStoragePersister object, most likely within the createPersister method of a WsServerDurableObject.
It is a minor extension to the Persister interface and simply provides an extra getSqlStorage method for accessing a reference to the SQL storage that the Store is being persisted to.
Since
v6.3.0