lock: Lock and unlock a dataset for editing
Description
Crunch allows a single active editor. If you have edit privileges but are
not currently editing the dataset, you must unlock the dataset before
making changes. You may then lock the dataset when you're done editing.
Usage
lock(dataset)unlock(dataset)
Value
dataset
, invisibly, after having set the current editor.
Arguments
- dataset
a CrunchDataset