function

RunWriteGuards

RunWriteGuards verifies the stored-version guards of the official adapters: an update refuses a Current that no longer describes the stored row, and saving revision 1 starts a document's version history, so a document created with the ID of a removed one never inherits its versions.

Arguments

ArgumentTypeDescription
t*testing.TThe t value.
factoryFactoryThe factory value.

Full signature

Related types

  • Factory

    Factory opens a clean store prepared for manifest. Implementations should register cleanup with t and fail the current test when setup cannot finish.