Build databases
Every folder is a database: views, layouts and queries.
- Create a databaseClick + beside Databases in the sidebar, give it a name and what it collects, then click Create.
- Add a note to a databaseRight-click the database in the sidebar and choose New note.
- Create a new viewOpen the view menu in the database header and choose Add view.
- Switch a view's layoutOpen View preferences, pick a new Layout on the Layout tab, and click Save view.
- Filter, sort and group rowsUse Filters, Sort by and Group by in the database header.
- Preview a row without leaving the viewClick the row. The note opens in a peek beside the view, and the list stays where it was.
- Add a child databaseRight-click a built-in such as Links in the sidebar and choose New link database.
- Save a view as a Markdown noteOpen View preferences and click Save as Markdown note.
- Write a queryChoose File › New Query, write a SELECT statement, and press ⌘↩ to run it.