Skip to content

get the collection? #145

@meecect

Description

@meecect

Is there a way to get the mongo/meteor collection for cronHistory? I need to specify the collection to pass along to a datatables component. If I try to create the collection manually like

export const CronHistory = new Mongo.Collection('cronHistory');

It complains that there is already a collection.

Error: There is already a collection named "cronHistory";

In the past, I have looked here:

Meteor.connection._stores[]

But I do not see the collection there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions