app/volt/tasks/live_query/data_store.rb in volt-0.8.21 vs app/volt/tasks/live_query/data_store.rb in volt-0.8.22.beta1
- old
+ new
@@ -16,6 +16,10 @@
cursor = cursor.skip(skip) if skip
cursor = cursor.limit(limit) if limit
return cursor.to_a
end
+
+ def drop_database
+ db.connection.drop_database(Volt.config.db_name)
+ end
end