Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Issue with insert #7

@K4ST0R

Description

@K4ST0R

I think there is an issue with insert.

if (entity > this.entitySequence) this.entitySequence = entity + 1;

if (entity > this.entitySequence) this.entitySequence = entity + 1; should be if (entity >= this.entitySequence) this.entitySequence = entity + 1;

Currently if we call a create after an insert, the create will have the same id than the last insert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions