api/base

api/base

Classes

BaseCollection
BaseSlugCollection
BaseTypeCollection

Members

(static, constant) exports.clearAppLogMethod

Source:

Allows admins to clear the AppLogCollection.

(static, constant) exports.defineMethod

Source:

Meteor method used to define new instances of the given collection name.

(static, constant) exports.dumpAppLogMethod

Source:

Allows admins to create and return a JSON object to the client representing a snapshot of the AppLogCollection.

(static, constant) exports.dumpDatabaseMethod

Source:

Allows admins to create and return a JSON object to the client representing a snapshot of the RadGrad database.

Methods

(static) exports.removeAllEntities()

Source:

Deletes all documents from all RadGrad collections.
Checks the integrity of the database before doing the deletion.
To be used only in testing mode.

Throws:

If there is an integrity issue with the DB prior to deletion.

Type
Meteor.Error
Returns:

true