( collectionIds: string[], )
| 86 | } |
| 87 | |
| 88 | export const getLocalCardsForCollections = async ( |
| 89 | collectionIds: string[], |
| 90 | ): Promise<LocalCard[]> => { |
| 91 | if (!collectionIds.length) return [] |
| 92 | return await db.cards.where('collectionId').anyOf(collectionIds).toArray() |
| 93 | } |
nothing calls this directly
no outgoing calls
no test coverage detected