Skip to content

Commit

Permalink
docs: corrected examples
Browse files Browse the repository at this point in the history
  • Loading branch information
novoj committed Sep 22, 2023
1 parent 08b2141 commit 4c503f6
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Collection("Product"),
FilterBy(
ReferenceHaving(
"brand",
"groups",
EntityHaving(
AttributeEquals("code", "sale")
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
| entityPrimaryKey | code | 🔗 groups: orderInGroup |
| ---------------- | ---- | ----------------------- |
| entityPrimaryKey | code | 🔗 groups: orderInGroup |
| ---------------- | ------------------------------------ | ----------------------------------------------------------------------------------------- |
| 107827 | 'zte-axon-10' | 🔗 66505: Predecessor[predecessorId=-1] |
| 108543 | 'xiaomi-mi-watch-lite' | 🔗 66505: Predecessor[predecessorId=107827], 🔗 112769: Predecessor[predecessorId=108545] |
| 108540 | 'xiaomi-mi-watch' | 🔗 66505: Predecessor[predecessorId=108543], 🔗 112771: Predecessor[predecessorId=113059] |
| 113054 | 'xiaomi-buds-3-pro' | 🔗 66505: Predecessor[predecessorId=108540], 🔗 112773: Predecessor[predecessorId=-1] |
| 113172 | 'trust-kuza' | 🔗 66505: Predecessor[predecessorId=113054] |
| 113048 | 'sony-wh-ch710n' | 🔗 66505: Predecessor[predecessorId=113172] |
| 113035 | 'sony-inzone-h3' | 🔗 66505: Predecessor[predecessorId=113048] |
| 113013 | 'skullcandy-hesh-anc' | 🔗 66505: Predecessor[predecessorId=113035] |
| 113010 | 'skullcandy-dime' | 🔗 66505: Predecessor[predecessorId=113013] |
| 107443 | 'samsung-galaxy-a32' | 🔗 66505: Predecessor[predecessorId=113010] |
| 113134 | 'razer-deathadder-v2' | 🔗 66505: Predecessor[predecessorId=107443], 🔗 112769: Predecessor[predecessorId=113523] |
| 105289 | 'rakuten-forma' | 🔗 66505: Predecessor[predecessorId=113134] |
| 105238 | 'pocketbook-basic-lux-3' | 🔗 66505: Predecessor[predecessorId=105289] |
| 104851 | 'panasonic-toughbook-a3-2020' | 🔗 66505: Predecessor[predecessorId=105238], 🔗 112769: Predecessor[predecessorId=105272] |
| 107008 | 'nokia-c2' | 🔗 66505: Predecessor[predecessorId=104851] |
| 110962 | 'msi-gp75-10sfsk-leopard' | 🔗 66505: Predecessor[predecessorId=107008], 🔗 112771: Predecessor[predecessorId=110988] |
| 113104 | 'logitech-signature-m650' | 🔗 66505: Predecessor[predecessorId=110962] |
| 106838 | 'lg-stylo-5x' | 🔗 66505: Predecessor[predecessorId=113104] |
| 106823 | 'lg-k-series-k51' | 🔗 66505: Predecessor[predecessorId=106838] |
| 113392 | '32-uhd-hdr-monitor-with-usb-type-c' | 🔗 66505: Predecessor[predecessorId=106823], 🔗 112769: Predecessor[predecessorId=106831] |


###### **Page** 1/0 **(Total number of results: 0)**
###### **Page** 1/2 **(Total number of results: 39)**
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
queryProduct(
filterBy: {
referenceBrandHaving: [
referenceGroupsHaving: [
{
entityHaving: {
attributeCodeEquals: "sale"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
collection("Product"),
filterBy(
referenceHaving(
"brand",
"groups",
entityHaving(
attributeEquals("code", "sale")
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ POST /rest/evita/product/query

{
"filterBy" : {
"referenceBrandHaving" : [
"referenceGroupsHaving" : [
{
"entityHaving" : {
"attributeCodeEquals" : "sale"
Expand Down

0 comments on commit 4c503f6

Please sign in to comment.