Commit 44885780 by Andrzej Piątyszek

describe :recovery_window param in readme

parent 84f1c9b4
......@@ -181,6 +181,14 @@ Client.restore(id, :recursive => true)
client.restore(:recursive => true)
```
If you want to restore a record and only those dependently destroyed associated records that were deleted within 2 minutes of the object upon which they depend:
``` ruby
Client.restore(id, :recursive => true. :recovery_window => 2.minutes)
# or
client.restore(:recursive => true, :recovery_window => 2.minutes)
```
For more information, please look at the tests.
#### About indexes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment