Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FF: Flag to force write new document which has preset primary key #521

Closed
oyeaussie opened this issue Jul 6, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature P3 I will get to this in a week or a month, bribe me to prioritise
Milestone

Comments

@oyeaussie
Copy link
Contributor

In situations like adding new entries for Geo, where the ID is already set, we will get exception from FF. To override this situation, we should add a flag before adding that type of entry. Also, re count needs to happen as counter stores last inserted ID.

######## Issue imported from Gitea ########

Details

Gitea Issue ID : 591
State : open
Created : 2024-06-17T14:38:45+10:00

Issue Description

In situations like adding new entries for Geo, where the ID is already set, we will get exception from FF. To override this situation, we should add a flag before adding that type of entry. Also, re count needs to happen as counter stores last inserted ID.

Timeline

Milestone : Added 0.0.0-rc.5 on 2024-06-17T14:38:45+10:00.
Label : Added enhancement on 2024-06-17T14:38:45+10:00.
Label : Added P3 on 2024-06-17T14:38:45+10:00.
Commit Reference: !591 - The updateOrInsert method already allows that. Added a new property to Basepackage ffAddUsingUpdateOrInsert. When property is set to true, the add method will trigger updateOrInsert, else will trigger Insert.
Label : Added CanClose on 2024-06-19T17:43:39+10:00.

@oyeaussie oyeaussie added CanClose Can Close, right before release enhancement New feature P3 I will get to this in a week or a month, bribe me to prioritise labels Jul 6, 2024
@oyeaussie oyeaussie added this to the 0.0.0-rc.5 milestone Jul 6, 2024
@oyeaussie oyeaussie self-assigned this Jul 6, 2024
@oyeaussie oyeaussie removed the CanClose Can Close, right before release label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature P3 I will get to this in a week or a month, bribe me to prioritise
Projects
None yet
Development

No branches or pull requests

1 participant