Skip to content

Instantly share code, notes, and snippets.

@derekperkins
Created November 22, 2013 07:59
Show Gist options
  • Save derekperkins/7596423 to your computer and use it in GitHub Desktop.
Save derekperkins/7596423 to your computer and use it in GitHub Desktop.
Elasticsearch Datasource Conditions
$query['conditions'] = [
'has_child' => [
'type' => 'workspaces_posts_tags',
'workspace_id' => 2
]
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment