FlowQuery-Oprations
filterByTags(<tags>)
You can filter a collection of nodes by tags. Example:
${ q(site)
.find('[instanceof Breadlesscode.Blog:Document.Post]')
.fliterByTags(q(node).property('tags'))
.get() }
filterByCategories(<categories>)
You can filter a collection of nodes by tags. Example:
${ q(site)
.find('[instanceof Breadlesscode.Blog:Document.Post]')
.filterByCategories(q(node).property('categories'))
.get() }
filterByAuthor(<user-identifier>)
You can filter a collection of nodes by the author. Example:
${ q(site)
.find('[instanceof Breadlesscode.Blog:Document.Post]')
.filterByAuthor(q(node).property('author'))
.get() }
filterByReferences(<property-name>, <references>)
You can filter a collection of nodes by a collection of references. Example:
${ q(site)
.find('[instanceof Breadlesscode.Blog:Document.Post]')
.filterByReferences('categories', q(node).property('categories'))
.get() }