andrewlock / PwnedPasswords

An ASP.NET Core Identity validator that checks for PwnedPasswords
MIT License
103 stars 12 forks source link

Do new record being added at the end of file? #25

Closed zohaibcs closed 1 year ago

zohaibcs commented 1 year ago

I wanted to confirm the update strategy. Do new records being added at the end of the file? For example I downloaded a file and inserted it into my database. Now after some time, I want to update my database. I download the file again but want to add the latest records instead of dumping all the data from DB and insert again.

SeanFarrow commented 1 year ago

The current client does not have an abstraction for querying using anything other than the API, so I’m not sure what you are asking for help with? Thanks, Sean. From: Zohab Hassan @.> Sent: Monday, June 5, 2023 5:29 PM To: andrewlock/PwnedPasswords @.> Cc: Subscribed @.***> Subject: [andrewlock/PwnedPasswords] Do new record being added at the end of file? (Issue #25)

I wanted to confirm the update strategy. Do new records being added at the end of the file? For example I downloaded a file and inserted it into my database. Now after some time, I want to update my database. I download the file again but want to add the latest records instead of dumping all the data from DB and insert again.

— Reply to this email directly, view it on GitHubhttps://github.com/andrewlock/PwnedPasswords/issues/25, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AALDK7X65SBSWFCLXWRHR7LXJYCMNANCNFSM6AAAAAAY3GX4MA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

zohaibcs commented 1 year ago

I got it resolved. Thanks for help