Changes between Version 4 and Version 5 of query_builder_doc


Ignore:
Timestamp:
Feb 3, 2016, 5:45:58 PM (8 years ago)
Author:
casties
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • query_builder_doc

    v4 v5  
    55
    66https://ismi-dev.mpiwg-berlin.mpg.de/static-ismi/ng2-query-builder/index.html
     7
     8== Example query ==
     9
     10In this simple example we will find all witnesses of titles by Nasir al-Din al-Tusi.
    711
    812=== Start ===
     
    4347
    4448This runs the query to narrow down the list of all persons to only those that have "tusi" in their transliterated name field:
     49
     50[[Image(qb-person-tusi.png)]]
     51
     52Under "Query result" we see that now only 11 PERSON objects are selected.
     53
     54Since this are not too many objects the selected persons are displayed automatically in a table below.
     55
     56Above the table you can change how many results are shown on the page at a time ("Show XX results per page") and you can change which attributes of the object will be shown as columns of the table ("Columns: XX").
     57
     58You can browse through the pages of the table by clicking on the "**Next**" and "**Previous**" buttons or by selecting one of the numbered pages in the pager element directly above the table.
     59
     60In the table we find the row containing Abū Jaʿfar Naṣīr al-Dīn Muḥammad ibn Muḥammad ibn al-Ḥasan al-Ṭūsī and we note that the corresponding ismi_id is 47316.
     61
     62=== Select objects by ID ===
     63
     64Now we click "**add step**" again to add another step to select only Nasir al-Din al-Tusi to find only his works.
     65
     66In the first select box we select "**Object ID is**" and we enter "**47316**" in the input field.
     67
     68This runs the query to narrow down the list of persons to the one person with the ID 47316:
     69
     70[[Image(qb-person-tusi-id.png)]]