Set creates or updates an key-val entry in the Collection. The key must be unique (not repeated) within the Batch. Set() copies the key and val bytes into the Batch, so the memory bytes of the key and val may be reused by the caller.
(key, val []byte)
| 325 | // copies the key and val bytes into the Batch, so the memory |
| 326 | // bytes of the key and val may be reused by the caller. |
| 327 | Set(key, val []byte) error |
| 328 | |
| 329 | // Del deletes a key-val entry from the Collection. The key must |
| 330 | // be unique (not repeated) within the Batch. Del copies the key |
no outgoing calls