remove
The method allows removing a document. It’s available on Collection, Ref, and Doc.
The method returns Ref instance:
const ref = await db.users.remove(userId);//=> Ref<User>The method allows removing a document. It’s available on Collection, Ref, and Doc.
The method returns Ref instance:
const ref = await db.users.remove(userId);//=> Ref<User>