dom: Added 'dom.tracked.count' support

This commit is contained in:
Paul Beckingham 2016-07-16 13:45:03 -04:00
parent 80b465e0ac
commit 3ace06b75e

View file

@ -100,6 +100,18 @@ bool domGet (
}
}
else if (pig.skipLiteral ("tracked."))
{
auto tracked = getAllInclusions (database);
// dom.tracked.count
if (pig.skipLiteral ("count"))
{
value = format ("{1}", tracked.size ());
return true;
}
}
else if (pig.skipLiteral ("tag."))
{
// Generate a unique, ordered list of tags.