...
Header | description |
---|---|
totalAnchors | total number of anchors |
resultIndex | requested index of anchor |
anchorSize | requested number of anchors |
Query
Query | Description | Decision |
---|---|---|
SELECT id FROM anchor order by id LIMIT : anchorSize OFFSET : (resultIndex -1) * :anchorSize | query list of anchors | |
SELECT id, anchor_id AS anchorId, xpath, parent_id AS parentId, CAST(attributes AS TEXT) AS attributes FROM FRAGMENT WHERE anchor_id IN :anchorList AND xpath ~ :xpathRegex | query fragments for list of anchors from above query |
...