Hello!
I have defined collection in my app:
“imports/api/someItems/collections.js”
import { Mongo } from 'meteor/mongo';
export const SomeItems = new Mongo.Collection('someItems');
And I import it into “server/main.js”.
The issue I have is, that when I build my app locally, I still can insert stuff into db from Chrome console, like so:
“Meteor.connection._stores.someItems._getCollection().insert({test: 123})”
I know, there is a way, to disable such db population, but cant seem to find it.
For all the help, thanks in advance!