Dataview bookshelf

Example

File Cover Author
The Companion Species Manifesto Donna Jeanne Haraway
We Are Electric Sally Adee
論理的思考とは何か 渡邉 雅子

Grammar

TABLE 
book_cover as Cover,
book_author as Author
FROM "5_Books" AND #type/book
LIMIT 3
SORT file.name ASC

1. TABLE

TABLE 

2. Column definitions

book_cover as Cover,
book_author as Author

Syntax

Each filed (book_cover, book_author) is followed by the column name (Cover, Author).

Field

3. Source

FROM "5_Books" AND #type/book

It specifies the source of the data.

  1. Folder Restriction: "5_Books" specifies that the query searches for notes within the folder named 5_Books.
  2. Tag Filtering: #type/book further filters notes to include only those tagged with #type/book.

4. Limit

LIMIT 3

Limit the number of rows.

5. Sort

SORT file.name ASC

References

https://s-blu.github.io/obsidian_dataview_example_vault/