type
status
category
date
slug
summary
tags
icon
Last edited time
May 21, 2023 07:57 AM
Notion的database其实提供了一种Property,能够让一个数据库中获取到另一个数据库的数据
下方演示
示例
我先建立一个Database1,里面存放
name
,Event
和Date
再建立一个数据库2,我需要让事件1,2,3分别与001,002,003绑定,获取到Database1的Date,Event数据,并展示在Database2中
方法如下
- Database2中新建一个RelationProperty,并选取Database1


- Database2中新建一个RollupProperty,设定Relation为第一步设置的Property,选择要关联的Property为Date/Event/name

- 将事件1的RelationToDatabase1选定为001

- 可以看到Rollup_Database1_Date已经自动显示了

以此类推,即可完成对Database1中Event,name的查询
绑定Relation后,Database的Rollup行为就是SQL中的
- 作者:Jimmy Huang
- 链接:https://huangjihao.com/e6c5eaee-012b-4dc8-bcd7-63577bbd9679
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。