1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00

Enumerate rollup function values

This commit is contained in:
David Stotijn
2021-12-17 18:12:14 +01:00
parent 52e133b4e8
commit 74663ed1b6
2 changed files with 26 additions and 7 deletions

View File

@ -191,7 +191,7 @@ func TestFindDatabaseByID(t *testing.T) {
"relation_property_name": "Meals",
"rollup_property_id": "title",
"relation_property_id": "mxp^",
"function": "count"
"function": "count_all"
}
},
"Store availability": {
@ -322,7 +322,7 @@ func TestFindDatabaseByID(t *testing.T) {
RelationPropName: "Meals",
RollupPropID: "title",
RelationPropID: "mxp^",
Function: "count",
Function: notion.RollupFunctionCountAll,
},
},
"Store availability": notion.DatabaseProperty{