Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagejson
{ 
	"kind": "NestedFilter", 
	"path": "fieldpath", 
	"filter": 
		{ filter1 } 
}
Code Block
languagejson
// LAYER CORPORATE ASSIGNED AND EVENTS TAGGED IN LAYER
{
	"kind": "AndFilter",
	"filters": [
		{
			"kind": "TermFilter",
			"field": "layerSchemaIds",
			"term": "CorporateLayer"
		},
		{
			"kind": "NestedFilter",
			"path": "corporateLayer.events",
			"filter": {
				"kind": "ExistsFilter",
				"field": "corporateLayer.events._refId"
			}
		}
	]
}
Code Block
languagejson
// LAYER CORPORATE ASSIGNED AND NO EVENTS TAGGED IN LAYER
{
	"kind": "AndFilter",
	"filters": [
		{
			"kind": "TermFilter",
			"field": "layerSchemaIds",
			"term": "CorporateLayer"
		},
		{
			"kind": "NestedFilter",
			"path": "corporateLayer.events",
			"filter": {
				"kind": "ExistsFilter",
				"field": "corporateLayer.events._refId"
			}
		}
	]
}