Skip to content

Box insert - assign new IDs on passed objects #62

@vaind

Description

@vaind

The passed object should be updated to also contain ID after a successful insert. This applies to box.put() and box.putMany()

Example for put():

final object = TestEntity.initText("Hello");
int putId = box.put(object);
expect(putId, 1);
expect(object.id, 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedLooking for contributors (ideas, comments, code, etc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions