class StatelyDB::Transaction::Transaction
def put(item,
-
(String, Integer)
- the id of the item
Parameters:
-
overwrite_metadata_timestamps
(Boolean
) -- If set to true, the server will -
must_not_exist
(Boolean
) -- A condition that indicates this item must -
item
(StatelyDB::Item
) -- the item to store
def put(item, must_not_exist: false, overwrite_metadata_timestamps: false) resp = put_batch({ item:, must_not_exist:, overwrite_metadata_timestamps: }) resp.first end