Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notion like database #822

Open
thbkrshw opened this issue Jan 13, 2020 · 5 comments
Open

Notion like database #822

thbkrshw opened this issue Jan 13, 2020 · 5 comments

Comments

@thbkrshw
Copy link

I've nearly anything I need in Trilium, but I'd like to know if it's possible to implement notion like database?

It's based on a simple table, but with lots of functionality behind the scene: https://www.notion.so/Intro-to-databases-fd8cd2d212f74c50954c11086d85997e

Every row is a block (as everything is a block in notion), that can have many attributes, and could queried like a DB, with different way of visualizing it.

How to you think it's implementable? With a note for every row?

@zadam
Copy link
Owner

zadam commented Jan 13, 2020

That functionality looks pretty cool, but I don't see it realistic to implement all that in Trilium anytime soon.

But there are bits which are quite low-hanging fruit and could be relatively easy - e.g. having "smart" table (widget) which would be backed by a user-definable SQL query - each row can be a note but also whatever else you choose. However this would be a read only view and you would have to click through (open in tab) to the actual note to be able to edit the content.

Similarly I have a plan to introduce a chart widget which would be backed by a SQL query (or script).

@thbkrshw
Copy link
Author

Thank you for your quick response :)

A view based on a SQL query seems to be a good way to begin this, especially with how many attributes every note had. Will try to look into something.

@leoossa
Copy link

leoossa commented Feb 12, 2020

+1

1 similar comment
@nhaouari
Copy link

+1

@chee
Copy link
Contributor

chee commented Apr 28, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants