Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
I have dilemma about the following:
merchello.Query.Product.Search(0, int.MaxValue).Items
From my knowledge, am I right that it does not execute until there is .ToList(), .ToArray(), etc ? Correct me if I am Wrong.
And if it is just a query and not an execution, can I Filter the items and get access to the collections linked to check and comapre collection guids?
Thank you in advance.
Hey Simon,
As far as I am aware it doesn't implement iqueryable and uses examine as it's data source so once the search has happened any further filtering will just be done in memory.
Thanks,
Tom
Hi Tom, thank you for your reply.
Do you know how to then filter them to get those products only which has such collections related to?
And is it practicle to use it and the skip fir pagination afterwards?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Get All Products - Query
Hi Guys,
I have dilemma about the following:
From my knowledge, am I right that it does not execute until there is .ToList(), .ToArray(), etc ? Correct me if I am Wrong.
And if it is just a query and not an execution, can I Filter the items and get access to the collections linked to check and comapre collection guids?
Thank you in advance.
Hey Simon,
As far as I am aware it doesn't implement iqueryable and uses examine as it's data source so once the search has happened any further filtering will just be done in memory.
Thanks,
Tom
Hi Tom, thank you for your reply.
Do you know how to then filter them to get those products only which has such collections related to?
And is it practicle to use it and the skip fir pagination afterwards?
Thank you in advance.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.