I am wondering about the use of includesAnyOf: query. Is it the same use than inclidesAnyOf: from the collection classes?
Is the following correct ?
myMagmaCollection where: [:each | each endDate includesAnyOf: {Date today . Date yesterday}
With endDate returning a Date instance.
Hilaire
Hilaire Fernandes a écrit :
I am wondering about the use of includesAnyOf: query. Is it the same use than inclidesAnyOf: from the collection classes?
Is the following correct ?
myMagmaCollection where: [:each | each endDate includesAnyOf: {Date today . Date yesterday}
With endDate returning a Date instance.
Or may be with endDate returning a collection of Date will be even more useful?
Hilaire
Hilaire Fernandes a écrit :
Hilaire Fernandes a écrit :
I am wondering about the use of includesAnyOf: query. Is it the same use than inclidesAnyOf: from the collection classes?
Is the following correct ?
myMagmaCollection where: [:each | each endDate includesAnyOf: {Date today . Date yesterday}
With endDate returning a Date instance.
Or may be with endDate returning a collection of Date will be even more useful?
Or is it includesAnyOf: includesAllOf: to be used with MaKeywordIndex?
Hilaire
magma@lists.squeakfoundation.org