Nicolas Steenlant > Catmandu > Catmandu::Cmd::delete

Download:
Catmandu-1.0304.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.0304   Source  

NAME ^

Catmandu::Cmd::delete - delete objects from a store

EXAMPLES ^

  catmandu delete <STORE> <OPTIONS>

  
  # delete items with matching _id
  catmandu delete ElasticSearch --index-name items --bag book \
                                --id 1234 --id 2345

  # delete items matching the query
  catmandu delete ElasticSearch --index-name items --bag book \
                                --query 'title:"My Rabbit"'

  # delete all items
  catmandu delete ElasticSearch --index-name items --bag book

  catmandu help store ElasticSearch
syntax highlighting: