({ ids }: { ids: BookmarkId[] })
| 152 | return res |
| 153 | }, |
| 154 | async removeMany({ ids }: { ids: BookmarkId[] }) { |
| 155 | const userId = await getAuthedUserId() |
| 156 | const res = await db |
| 157 | .delete(userBookmarks) |
| 158 | .where(and(userLimiter(userId), inArray(userBookmarks.id, ids))) |
| 159 | .returning() |
| 160 | return res |
| 161 | }, |
| 162 | /** |
| 163 | * 高级搜索书签列表 |
| 164 | */ |
nothing calls this directly
no test coverage detected