kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Metatags in queries #44

Closed kaspiana closed 4 months ago

kaspiana commented 4 months ago

Documents can be queried not only by their tags but also by their metadata, using the operators = (implicit), !=, <, >, <=, >=, and like (as in SQL).

mage search "extension('jpg')"
mage search "id(>100)"
mage search "file_name(like '%tumblr%')"

Resolves #24. In this issue, they were referred to as pseudotags, but the term metatags will be used now.