-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
Hi,
I believe this has been asked in a couple different ways, but I don't see any answer. I'll try to summarize. Is it possible to use a value such as 'expTime' below(pathSegment = 4) in the ? of the 'where' clause? I would want the whereColumn to compare with pathSegment value 2 and the where to use pathSegment 4.
@InexactContentUri(
path = Path.ITEMS + "/" + Path.NOTIFY_FLAG + "/#/" + Path.EXPIRE_NOTIFY + "/#",
name = "ITEM_EXPIRE_LESS",
type = "vnd.android.cursor.item/item",
whereColumn = ItemColumns.ITEM_NOTIFY,
where = "item_exp_date < ?",
pathSegment = {2,4})
public static Uri withExp(long expTime) {
return buildUri(Path.ITEMS, Path.NOTIFY_FLAG, "1", Path.EXPIRE_NOTIFY, String.valueOf(expTime));
}
Thanks,
Brian
Metadata
Metadata
Assignees
Labels
No labels