You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
You can get the collection by calling import { SyncedCron } from 'meteor/littledata:synced-cron'; const cronHistory = SyncedCron._collection return cronHistory.find().fetch()
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.
The text was updated successfully, but these errors were encountered: