Skip to content

Should insert(...).get() provide some feedback information? #16

@lkairies

Description

@lkairies

From [email protected] on November 01, 2010 14:51:07

It's important in many cases to distinguish an insertion of a new key from a modification of data of an existing key. According to this it could be useful if insert(...).get() returns a appropriate Boolean.

As for group inserts I could imagine a collection of Booleans or at least statistical information (#new, #changes).

I have similar ideas for (group) deletions: True means "An existing key has been deleted", False stands for "There isn't such a key".

Or does my proposal contradict the Key-Value-Store philosophy?

Original issue: http://code.google.com/p/babudb/issues/detail?id=16

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions