Last active
June 21, 2023 09:43
Revisions
-
pepebe revised this gist
Jan 7, 2022 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,10 +2,11 @@ ``` &where=`{ "template:IN" : [ 1,2,3 ] } &where=`{ "template:NOT IN" : [ 1,2,3 ] } ``` Source: https://gist.github.com/davidpede/a00fbd35ff7c0f69815c ## where with multiple conditions inside square brackets ``` &where=`[{"alias:LIKE":"foo%", "OR:alias:LIKE":"%bar"},{"OR:pagetitle:=":"foobar", "AND:description:=":"raboof"}]` ``` source: https://gist.github.com/davidpede/a00fbd35ff7c0f69815c -
pepebe created this gist
Jan 7, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # About this list A currated list of useful pdoTools settings/examples This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ## where with single condition ``` &where=`{ "template:IN" : [ 1,2,3 ] } &where=`{ "template:NOT IN" : [ 1,2,3 ] } ``` ## where with multiple conditions inside square brackets ``` &where=`[{"alias:LIKE":"foo%", "OR:alias:LIKE":"%bar"},{"OR:pagetitle:=":"foobar", "AND:description:=":"raboof"}]` ```