Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

[Question] #406

Open
KanKai opened this issue Jun 8, 2020 · 1 comment
Open

[Question] #406

KanKai opened this issue Jun 8, 2020 · 1 comment
Labels

Comments

@KanKai
Copy link

KanKai commented Jun 8, 2020

findOneAndDelete(Types.ObjectId(id)) not working @types/mongoose ^5.7.21

async deleteById(id: string): Promise {
return this._model.findOneAndDelete(Types.ObjectId(id)).exec();
}

@KanKai KanKai added the question label Jun 8, 2020
@hasezoey
Copy link
Contributor

hasezoey commented Jun 8, 2020

this repository is not maintained anymore, look at the new repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants