A linked view of the test database is placed at the bottom of this page. A link to the method reference is provided at the end of the description.

  1. Preparation (instance → self.instance → NotionCache, create_client → create_client(notion_token, wait: 0.1))
  2. Retrieve a database (find → self.find(id, dry_run: false))
  3. Obtain properties (properties → properties → PropertyCache)
  4. Query database without filter (query_database → query_database(query = nil, dry_run: false) → List)
  5. Count all_pages (Enumerable → each { |item| ... } → self each → Enumerator)
  6. Obtain all page title (Enumerable → each { |item| ... } → self each → Enumerator, title → title → String)
  7. Query database with filter (query_database → query_database(query = nil, dry_run: false) → List, filter_equals → , ascending → ascending(property) )
  8. Count select3_pages (Enumerable → each { |item| ... } → self each → Enumerator)
  9. Obtain select3_pages title (Enumerable → each { |item| ... } → self each → Enumerator, title → title → String)
  10. Obtain the first page (Enumerable → each { |item| ... } → self each → Enumerator)
  11. Obtain the multi_select_names of the page (properties → properties → PropertyCache, multi_select_names → multi_select_names → Array)

無題のデータベース