Tools for querying and working with tags.
Querying tags
// query a list of all unique tag nameslet tags = Tag.query("")// get filtered list of tags matching "bl", like "blue", "black"let blueTags = Tag.query("bl") Copy
// query a list of all unique tag nameslet tags = Tag.query("")// get filtered list of tags matching "bl", like "blue", "black"let blueTags = Tag.query("bl")
Static
Perform a search for tags and return an array of tag names.
Search string, as you would type in the search box in the filter list. Use empty string ("") not to filter.
""
Rename all instances of a tag in your draft library.
Number of drafts affected by the reassignment.
Return array of recently used tags. Helpful for building prompts to select tags.
Tools for querying and working with tags.
Example
Querying tags