On Sunday, January 12, 2014 8:57:42 PM UTC+1, Jeremy Ruston wrote:
>
> Anyhow, I quite like this suggestion, but wonder if we can go further.
>
> We could enhance the syntax for filters such that an operator can have an 
> optional suffix, separated by a colon: operator:suffix[parameter]
>
> For example:
>
> field:next[value]
>
> Here, the filter is "field" with the suffix "next" identifying the field 
> to be compared.
>
> The suffix would be optional. The system would fall back to trying to 
> treat unknown operators as suffixes for the "field" operator.
>
> This would be quite handy for some of the other operators. For example, 
> the sameday and eachday operators are hardcoded to use the "modified" 
> field; instead we could support:
>
> sameday:created[[20131231]]
>

I like this idea.
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to