Uh oh!
There was an error while loading. Please reload this page.
Feat implement database cleaner node - #238
Conversation
| export function throwIfMissing(obj, keys) { | ||
| const missing = []; | ||
| for (let key of keys) { | ||
| if (!(key in obj) || obj[key] == null || obj[key] == undefined) { |
There was a problem hiding this comment.
The condition here can just be !(key in obj) || obj[key] == null
gewenyu99
commented
Apr 8, 2024
Hey there! There were a lot of big PRs during this Hacktoberfest, and we wanted to give everyone ample time to collaborate with our engineering team. If you were able to merge your PRs during October, amazing. If it’s still not merged, don’t worry about it either. Either way, we’ve got your Hacktoberfest swag minted and ready to ship. Please comment with your Discord username here so we can contact you about your shipping information to deliver your Hacktoberfest swag. |
dishwasher-detergent
commented
Apr 9, 2024
Hey! My discord name would be @kennethbass.com. (I am the mod Kenny) :) |
What does this PR do?
Deletes documents that fall outside of a specified retention period.
Test Plan
I have tested the function template in Appwrite Cloud, you can view that here
Related PRs and Issues
This PR is related to issue #226 and merging this PR closes that issue
Have you read the Contributing Guidelines on issues?
Yes I Have read the contributing guidelines