You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select {
count as totalCount,
searchResult.items as items[{
itemId as id,
label as label,
primaryCategory.categoryName as categoryName,
shippingInfo {
shippingType,
shipToLocation
}
}]
}
from finding
Also, an "anonymous" top-level array could be returned by dropping the label for "searchResult.items" as shown in the following query:
QUERY:
select searchResult.items as [{
itemId as id,
label,
primaryCategory.categoryName as categoryName,
shippingInfo {
shippingType,
shipToLocation
}
}]
from finding
Also, I think a limit on any arrays should be supported. For example:
QUERY:
select {
count as totalCount,
searchResult.items as items[limit=5, {
itemId as id,
label as label,
primaryCategory.categoryName as categoryName,
shippingInfo {
shippingType,
shipToLocation
}
}]
}
from finding
Also, user functions for controlling property values would be helpful as well. For example:
QUERY:
var formatCurrency = require('utils/formatting').formatCurrency;
select {
totalCount,
searchResult.items as items[{
formatCurrency(buyItNowPrice.$t, buyItNowPrice.currencyId) as buyItNowPrice
}]
}
from finding
The text was updated successfully, but these errors were encountered:
Examples of improvements:
QUERY:
OUTPUT:
Also, an "anonymous" top-level array could be returned by dropping the label for "searchResult.items" as shown in the following query:
QUERY:
OUTPUT:
Also, I think a limit on any arrays should be supported. For example:
QUERY:
Also, user functions for controlling property values would be helpful as well. For example:
QUERY:
The text was updated successfully, but these errors were encountered: