简体   繁体   中英

Delete row in aldeed tabular Meteor

Im using meteor and the aldeed tabular package. I have succeed to add data in the tabular from mongodb. I wonder if there is a way to delete / hide the row without deleting the data in mongodb?? Does anyone have an idea?? thanks

You should add a flag/field to your collection -> DeletedYN and the value can be true or false.
Then when retrieving your collection use a filter on DeletedYN .
This concept is called logic deletion, and will also be manual work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM