Hi Todd,
It is possible to drop your metadata (on preview) from cloud code, e.g.:
Spark.metaCollection("myCollection").drop();
Game Data Service Data Types on the other hand cannot be dropped through cloud code; this needs to be done via the Data Explorer or a REST request.
Regards,
Vinnie
Todd Gillissie
In the Data Explorer, there is a button to drop all data for any given table. I often use this on my dev environment to have a clean testing slate. Is this possible to do in Cloud Code, or will I have to individually delete each document after querying them all from a table?