Unloads a dataset's ACTIVE version (#1152): the dataset is left with no
active version (empty), the version becomes superseded so its rows
can be deleted and it marked deleted, and the listeners are told, so
no reader goes on answering from it. The version the removed one
replaced stays the dataset's previousVersion, which is what Roll back
offers.
Parameters
realm: string
the realm
dataset: string
the dataset
version: string
the version, which must be the active one
now: number
when
Returns Promise<any>
{ deactivated: true }, or { deactivated: false } when that
version is not the active one
Unloads a dataset's ACTIVE version (#1152): the dataset is left with no active version (
empty), the version becomessupersededso its rows can be deleted and it markeddeleted, and the listeners are told, so no reader goes on answering from it. The version the removed one replaced stays the dataset'spreviousVersion, which is what Roll back offers.