Get item details from a share

This commit is contained in:
eikek
2021-10-06 09:36:38 +02:00
parent c62b8526be
commit 1a10216e3d
5 changed files with 153 additions and 6 deletions

View File

@ -188,6 +188,10 @@ object ItemQuery {
def date(op: Operator, attr: DateAttr, value: Date): SimpleExpr =
SimpleExpr(op, Property(attr, value))
def itemIdEq(itemId1: String, moreIds: String*): Expr =
if (moreIds.isEmpty) string(Operator.Eq, Attr.ItemId, itemId1)
else InExpr(Attr.ItemId, Nel(itemId1, moreIds.toList))
}
}