Namespace

api/base

api/base

Classes

BaseCollection
BaseSlugCollection
BaseTypeCollection

Members

# static constant exports.defineMethod

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

View Source api/base/BaseCollection.methods.ts, line 43

# static constant exports.dumpDatabaseMethod

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

View Source api/base/BaseCollection.methods.ts, line 14

Methods

# static exports.removeAllEntities()

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

View Source api/base/BaseUtilities.ts, line 15

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

Meteor.Error

true