app
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
app
app
/
com.fam007e.receipts.data.db.dao
/
CategoryDao
Category
Dao
interface
CategoryDao
Members
Functions
get
Categories
For
Person
Link copied to clipboard
abstract
fun
getCategoriesForPerson
(
personId
:
Long
)
:
Flow
<
List
<
CategoryEntity
>
>
get
Category
By
Id
Link copied to clipboard
abstract
suspend
fun
getCategoryById
(
id
:
Long
)
:
CategoryEntity
?
get
Top
Category
For
Person
Link copied to clipboard
abstract
suspend
fun
getTopCategoryForPerson
(
personId
:
Long
)
:
CategoryEntity
?
insert
Category
Link copied to clipboard
abstract
suspend
fun
insertCategory
(
category
:
CategoryEntity
)
:
Long
reset
Threshold
Count
Link copied to clipboard
abstract
suspend
fun
resetThresholdCount
(
categoryId
:
Long
)
update
Category
Link copied to clipboard
abstract
suspend
fun
updateCategory
(
category
:
CategoryEntity
)