Skip to main content

CategoryDeletionInfo

Get some information we might want to show a user before deleting a category.

This could live under the category object, but rules_count is subject to O(N) query counts.

type CategoryDeletionInfo {
category: Category!
rulesCount: Int!
transactionsCount: Int!
}

Fields

CategoryDeletionInfo.category ● Category! non-null object

CategoryDeletionInfo.rulesCount ● Int! non-null scalar

Number of rules linked to this category

CategoryDeletionInfo.transactionsCount ● Int! non-null scalar

Number of transactions linked to this category

Returned By

categoryDeletionInfo query