Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModelInstance.destroy() fonksiyonu eklenmeli #18

Closed
saracalihan opened this issue Feb 15, 2022 · 0 comments · Fixed by #35
Closed

ModelInstance.destroy() fonksiyonu eklenmeli #18

saracalihan opened this issue Feb 15, 2022 · 0 comments · Fixed by #35
Assignees
Labels
enhancement New feature or request

Comments

@saracalihan
Copy link
Member

Var olan bir kayıt kendisini silmek istediğinde çağıracağı fonksiyon eklenmeli

const user = await userMode.findById('saracalihan');
await user.destroy();  // Kaydı Redis üzerinden siler ve kullanıcıya silindiğine dair bilgi döner 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants