Skip to content

Instantly share code, notes, and snippets.

@davidpede
Last active October 11, 2023 20:49
Show Gist options
  • Save davidpede/a00fbd35ff7c0f69815c to your computer and use it in GitHub Desktop.
Save davidpede/a00fbd35ff7c0f69815c to your computer and use it in GitHub Desktop.
pdoResources where examples
&where=`{ "template:IN" : [ 1,2,3 ] }
&where=`{ "template:NOT IN" : [ 1,2,3 ] }
&where=`[{"alias:LIKE":"foo%", "OR:alias:LIKE":"%bar"},{"OR:pagetitle:=":"foobar", "AND:description:=":"raboof"}]`
@achterbahn
Copy link

Example 3:
&where=[{"alias:LIKE":"foo%", "OR:alias:LIKE":"%bar"},{"OR:pagetitle:=":"foobar", "AND:description:=":"raboof"}]
(Watch the square brackets!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment