Databases
Notion databases are one of the most useful things to sync. N2O maps each database to a folder, generates Obsidian Bases views automatically, and produces Dataview-ready frontmatter for every item.
Database = folder
Section titled “Database = folder”Each Notion database becomes a folder in your vault:
Notion/├── Projects/│ ├── Project Alpha.md│ ├── Project Beta.md│ └── _files/ ← media from database items└── Projects.base ← Bases view (sibling of the folder)Database items become .md files. A .base file is generated next to each database folder (see Bases views below).
Property mapping
Section titled “Property mapping”Every database property is mapped to YAML frontmatter in each item file:
---icon: "🚀"status: "In Progress"due-date: 2026-01-15tags: - frontend - featurepriority: "High"notion_id: "page-uuid"notion_url: "https://notion.so/..."created: 2026-01-10T09:00:00.000Zupdated: 2026-01-15T14:30:00.000Zn2o_type: "database-item"n2o_database: "db-uuid"---Property names are sanitized to YAML-safe keys: "Due Date" → due-date, "Priority #" → priority. See Supported Properties for the full mapping table.
Database filters
Section titled “Database filters”Sync only the rows you want from a database:
- Open Sync Configuration (from N2O Settings or Dashboard).
- Go to Database Configuration.
- Click a database entry and open Filters.
- Add conditions (e.g. Status = “In Progress”).
- Choose All (AND) or Any (OR) match mode.
Only matching items are fetched from Notion. Filtered-out items don’t appear in your vault.
Property mappings (rename, exclude, format)
Section titled “Property mappings (rename, exclude, format)”Customize how properties appear in frontmatter — per database:
- Rename:
due-date→deadline - Exclude: Hide a property from frontmatter entirely
- Format: Change date format per property (ISO, human-readable, tags)
Configure in Sync Configuration > Database Configuration, then click a database and open Property Mappings.
Child databases
Section titled “Child databases”Inline databases nested inside Notion pages are discovered automatically. When you sync a parent page, any inline databases inside it are included in the sync scope. This is on by default and controlled by Sync Configuration > Content & Folders > Sync Child Databases.
Bases views (.base files)
Section titled “Bases views (.base files)”N2O generates native Obsidian Bases .base files for every synced database — on by default.
Enable or disable in Sync Configuration > Output & Templates > Generate Bases.
Folder placement
Section titled “Folder placement”The .base file sits next to (not inside) the database folder:
Notion/├── Projects/ ← database folder│ └── ...└── Projects.base ← Bases view7 default views
Section titled “7 default views”N2O generates 7 views for each database:
| View | Type | Description |
|---|---|---|
| Table | Table | All properties, smart column order |
| Gallery | Cards | Visual card layout with cover images |
| List | List | Compact single-line entries |
| Board | Table | Grouped by status or select property |
| Timeline | Table | Sorted by date property |
| Compact | Table | Name + top 3 key properties |
| Books | Cards | Reading-optimized with banner images |
The default view matches what’s set in Notion — requires Enhanced Metadata to be enabled. Without it, N2O uses the global default from Sync Configuration > Output & Templates > Bases Default View Type (table, cards, or list).
Preserving custom views
Section titled “Preserving custom views”If you create additional views in Obsidian’s Bases UI, N2O preserves them across syncs. Only the 7 default views are regenerated — your custom views are untouched.
Linked database views
Section titled “Linked database views”When a Notion page contains a linked database view (a filtered gallery, table, or list view embedded inside a page), N2O generates a filtered .base file for each one — scoped to only the items that view shows.
Linked view .base files are placed in a _views/ subfolder inside the database folder:
Notion/├── Projects/│ ├── _views/│ │ ├── Active Projects.base ← filtered linked view│ │ └── My Tasks.base ← another linked view│ ├── Project Alpha.md│ └── ...└── Projects.base ← full database viewThis mirrors what Notion shows — instead of seeing every database item, you see exactly the filtered subset from each linked view.
Canvas views (.canvas files)
Section titled “Canvas views (.canvas files)”N2O can generate Obsidian Canvas files that visualize database items as an interactive graph.
Enable in Sync Configuration > Output & Templates > Generate Canvas (off by default).
Placement
Section titled “Placement”The .canvas file is placed inside the database folder:
Notion/└── Projects/ ├── Projects.canvas ← Canvas file (inside folder) ├── Project Alpha.md └── ...Layout
Section titled “Layout”- Items arranged in a 4-column grid (260×60px nodes, 80px horizontal / 40px vertical gap)
- Each node links to its
.mdfile in the vault - Relations become edges between nodes, labeled with the relation property name
Dataview compatibility
Section titled “Dataview compatibility”N2O frontmatter works with Dataview out of the box:
TABLE status, due-date, tagsFROM "Notion/Projects"SORT due-date ASCUseful fields:
created/updated— ISO timestamps for sortingtags— native Obsidian tags (theTagsmulti-select property maps to thetags:key automatically)- All other properties are available as frontmatter keys
Relations as wikilinks
Section titled “Relations as wikilinks”Notion relation properties map to wikilinks in frontmatter:
related-projects: - "[[Project Alpha]]" - "[[Project Beta]]"On push, N2O resolves wikilinks back to Notion page IDs using the notion_id stored in each linked file’s frontmatter.