meteor-collection2 Questions
2
Solved
In my Stacks schema i have a dimensions property defined as such:
dimensions: {
type: [String],
autoform: {
options: function() {
return Dimensions.find().map(function(d) {
return { label: d....
Wicks asked 6/8, 2016 at 17:39
2
Solved
Meteor collection not being created automatically on start and autoform doesn't post to mongo db
I am new to meteor and mongo db. I am making an application using [email protected]. I am making a file named '/imports/api/collections/recipe.js'. Here I am creating a collection and importin...
Ureide asked 28/6, 2016 at 18:43
1
Solved
When I use Collection2 in angular2-meteor project, these kinds of codes from demo always give me warning in the terminal:
No best common type exists among return expressions.
How can I improve...
Caraway asked 26/3, 2016 at 3:34
4
I'm using collection2 and I'm trying to get it to handle validation is a specific way. I have a profile schema which looks kind of like this:
Schema.UserProfile = new SimpleSchema({
name: {
type...
Droplight asked 24/1, 2016 at 14:56
1
Solved
I have the following SimpleSchema where I am trying to add custom validation to validate against entering duplicate customer name, yet whenever I try to save a new customer I get error:
Exceptio...
Affinitive asked 3/9, 2015 at 16:17
1
Solved
I am just playing around with meteor and started using simple-schema and collection2. I moved from mongoose and node so my question could be a bit noob, so bear with me.
In mongoose I could just a...
Honeyman asked 25/5, 2015 at 5:31
1
Solved
I have a schema with a field type: Object . But whenever i do an insert, that object is empty.
Here is my schema
Contacts.attachSchema(new SimpleSchema({
firstName: {
type: String,
},
last...
Hurd asked 6/4, 2015 at 2:1
1
© 2022 - 2024 — McMap. All rights reserved.