Custom name for deleted field
See original GitHub issueI’d like to be able to set a custom name for the deleted
field, for instance, to follow the convention of using a question for boolean fields, i.e. isDeleted
.
Ideally, I could use a configuration option like so:
MySchema.plugin(mongoose_delete, { deletedFieldName: 'isDeleted' });
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Manage Deleted Fields in Lightning Experience
From the Object Manager page, click the name of the custom object. Click Fields & Relationships. To see a list of soft deleted...
Read more >I can not able to create deleted fields again with same api ...
There is link under custom fields named "Deleted Fields (X)". you need to clink on this link and then erase the field to...
Read more >Edit or delete a custom field
Under FIELDS, select Custom fields. Find the custom field you want to edit and select More ( ) > Edit details to update...
Read more >Deleted Custom Fields
To restore a deleted custom field, click on the hyperlinked name of the custom field. Then scroll to the bottom of the page...
Read more >How to Restore Deleted Salesforce Fields
From Setup, go to Object Manager and [Object Name], followed by Fields & Relationships. Then click on Deleted Field at the top of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A PR that would add an option to specify custom values for
deletedAt
etc.@T-vK, which PR you are referring to?