mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Get item details from a share
This commit is contained in:
@ -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))
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user