- queries.xml is an XML file located in app/database/ folder.
- This file contains all queries which are used to read any data from the database.
- It is necessary to create a "layout" for that data which is identical to the persistent storage structure. These "layouts" are called views. Once a view is created data is copied based on query from the database view into the persistent storage structure.
XML Attributes Description
||represents a |
||represents a list of column names which belong to the same table and will be a part of query result
||represents a list of |
view keys (column names) which belong to the same table and will be used to query the data
||represents a list of query types
More information here
<?xml version="1.0" encoding="utf-8"?>
||returns documents for key group (default value)
||returns documents for each key in key group
||returns list of document ids for key group