Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/db
/ deleteTodo
Method
deleteTodo
examples/angular/todos/src/app/app.ts:176–178 ·
view source on GitHub ↗
(id: number)
Source
from the content-addressed store, hash-verified
174
}
175
176
deleteTodo(id: number) {
177
todosCollection.delete(id)
178
}
179
180
getCompletedCount(): number {
181
return
this.todoQuery.data().filter((todo) => todo.completed).length
Callers
3
handleDeleteTodo
Function · 0.80
TodoList
Function · 0.80
handleDeleteTodo
Function · 0.80
Calls
1
delete
Method · 0.45
Tested by
no test coverage detected