Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tests whether a Filter's parameter matches exactly with the data, the filter works on.

An example filter:

Image RemovedImage Added
This filter filters out any results, whose ID does not match a supplied ID.

...

Filters out any items with data, which does not exactly match all the supplied parameters.

An example filter:

Image RemovedImage Added

This filter will filter out any items, whose keywords does not contain the supplied keywords, ie if an asset has the keywords "pink", "fluffy", "SithLord" and a user inputs "pink" and "kitten", then the "pink fluffy Sith lord" asset will be filtered out. If the user inputs "pink" and "fluffy" then the Sith lord will be returned.  

...

Filters out any items with data, which does not exactly match any of the supplied parameters.

Example:

Image RemovedImage Added

Using this filter, if a user inputs "pink" and "kitten", then in this case, the "pink fluffy sith lord" will not be filtered out because one of the asset's keywords is "pink".

...

Filters out any results, which does match any of the supplied parameters. 

Example:

Image RemovedImage Added

If a user inputs "pink" and "kitten" then the "pink fluffy sith lord" asset will be filtered out, because one of its keywords is "pink".

...

The easiest way to understand the differences is with a brief example:

The filter:

Image RemovedImage Added

If the user inputs a parameter with value "key", the final like statement is "like 'key%", ie any meta fields, which does not have a name starting with "key", are filtered out.

...