The Koha database schema will automatically open on this page:
There will be an alphabetical list of all the tables that makeup the database.
This list can be searched using the search box at the top of the table.
However, if it is not clear which table to use, often, I will go to the Columns section at the top of the page.
This will open a new page with all the fields within the different tables that make up the Koha database.
The different fields can be searched using the search box at the top of the table.
Even if you don't know the fields that makeup the table you're trying to identify, it is likely you will be able to make an educated guess on some of the content of the table.
In this example, we know we are looking for details about a patron. Think of some of the common fields in a patron account or fields that would logically be part of a patron account.
This could be name, cardnumber, patron category or local information custom to your system.
It is not about knowing the exact field or every field in a table, it is about considering what might logically come up in relation to a specific area of a system.
In this example, we search all the fields in the Koha database for the cardnumber field.
This narrows the entries down to only tables which contain a cardnumber field. This reduces the number of possible tables we could use for this report.
Looking down the different results, we can see there is a table called borrowers. This seems like the most likely table we need. To view the full content of the borrowers table and confirm if it contains the information we want for this report, click borrowers under the Table column.
This will open a new page where the content of the borrowers table can be viewed.
The content of this specific table can be searched using the Search box at the top of the table.
We know the report is looking for the first name of the patron and by searching name in the search box the table narrows down to only the entries including that word.
Take a note of the entry, often copying and pasting it the field into another word doc. can be useful so that the format of the field will be correct when it is added to the report.