Hi KiokuDB users.
I miss a method that will save everything I have been working on without
requiring me to distinguish between objects that needs to be stored
(usually as non-root) and objects that should be updated.
Given this use case:
my $obj = $kiokudb->lookup('some-object');
$obj->add_some_object;
$obj->create_some_other_object;
$obj->delete_something_else;
I want to be able to write
$kiokudb->done;
And let KiokuDB figure out how my object graph looks like now and what
needs to be stored.
I know that for updates, it will be necessary for the objects to be able
to indicate whether they are dirty or not. This is against the fairly
non-invasive strategy of KiokuDB.
Was something like this mentioned before?
Regards,
Michael.