AppFlowy-IO / AppFlowy-IO/AppFlowy

[FR] Query field type

Open
#5,787 0 comments 1 reaction 0 assignees View on GitHub
database new feature
Dominant language
Dart
Stars
76.6k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

### Description

A query field type to enable fetching data from all databases and working with them.
My specific use case is to get the total time I've spent on my tasks this week, month, and year. Also, being able to filter them by their status and tags.
So for example, I have 3 databases named "Work", "Home", "Study" and all three have "Status", "Tag", "Spent time" field. Having query field type will enable me to create a fourth database let's name it "Summary". It will have 2 fields one primary which is text and the second one query field type. On each row I will be able to calculate total spent time on each database separately and also all 3 databases together. For example the query type field cell for total spent time on Home will be STH like this `select sum('Spent time') where 'Status' = 'Done' from 'Home'`.

### Impact

Probably this will be useful to more advanced users who intend to get some sort of summary from their data in all databases (grids, boards, ...).

### Additional Context

Somehow related to #2813 (the scope of this issue is document, not database field type).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.