Versions Compared

Key

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

...

Code Block
asset.query :where "namespace='/projects/Data Team' and name='*.PNG'"


To If you wish to search in /projects/Data TeamĀ and all folders underneath it, use:

Code Block
asset.query :wherenamespace "namespace>='/projects/Data Team'" and:where "name='*.PNG'"


Searching for all assets that were created after a certain date would be done as follows:

Code Block
asset.query :wherenamespace "namespace>='/projects/Data Team'" and:where "ctime>='01-Jan-2017'"

Similar searches could be done using a geometric bounding box if your data has geospatial information attached.

...