If I do the relations with the +UB index and put 2016-10-01 as the start
date and 2016-10-20 as the end date for a specific project, do I get that
project in my result set if I do the collect with sdate 2016-10-15 and end
On Mon, Dec 12, 2016 at 1:01 PM, Alexander Burger <a...@software-lab.de>
> On Mon, Dec 12, 2016 at 11:12:22AM +0100, Henrik Sarvell wrote:
> > This looks like the one I need, I want all projects whose date range
> > has any kind of overlap with the given date range.
> How do you think about the '+UB' tree solution I suggested in my follow-up
> > (class +Proj +Macropisobj)
> > ...
> > (rel sDate (+UB +Aux +Ref +Date) (eDate))
> > (rel eDate (+Date))
> > Then a 'collect' would find the range directly:
> > (collect 'sDate '+Proj (list Sdate Sdate) (list Edate Edate))
> I think that is much more elegant and efficient.
> - Alex
> UNSUBSCRIBE: mailto:firstname.lastname@example.org?subject=Unsubscribe