Page 1 of 1

How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:17 am
by Brian Alford5352810

I want to delete some of the data (not all) from a collection using the Web Console, I have no problem filtering using query strings like {"Date":{"$lt":"31/1/2013"}} etc.


How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:36 am
by maxkatz

Here you go:

Image


How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:42 am
by Brian Alford5352810

Hi Max
Thanks for the help but I want to delete about 1000 records out of 2000, can I use a query to find the records I want to delete and somehow select all of them ie Does the "Delete all" delete all or delete all that has been returned by a query. I'm not game to try and lose all records.

Kind Regards


How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:43 am
by maxkatz

Should delete only the records shown... but give it a test in another collection.


How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:52 am
by Brian Alford5352810

Hi Max
Just give you a heads up I created another collection with 15 records with having an ID of 1 then filtered themn to get 7 records. clicking "Delete all" deleted all 15 records.
Kind Regards


How to delete data from the Tiggzi Database Web Console

Posted: Thu Jan 31, 2013 4:55 am
by maxkatz

Instead of "Delete all", click "-Row".