Shortened question:
How do I connect to a non-standard (i.e., not the default Meteor Mongo server and default Meteor db within that) Mongo DB using webix-meteor?
Full question:
I’m trying to run Webix with Meteor and connecting to a Mongo db that is my own Mongo db (i.e., not the default Meteor db from the default Mongo server started by Meteor). This requires exporting the environment variable MONGO_URL within shell before running the Meteor server. When I do this, I’m able to access My_Mongo_DB with Meteor, but I keep getting the following error when I modify Webix to access My_Mongo_DB:
Invalid proxy name: My_Mongo_DB
Relevant code (I think) below:
webix-meteor.js:
webix.proxy.my_mongo_db = {
[parseSource, load, and save function defined here with default from webix-meteor.js]
}
my_page.js:
[after template has rendered]
var proxy = webix.proxy(“my_mongo_db”, My_Collection);
Any ideas what is broken here/why I’m not able to connect to my db?