var User = new Scheme({
name: String,
...
subscribers: [User]
});
Can I do this? If not - are there any other options?
And can I say subscribers
property to have default value []
and type of User
?
var User = new Scheme({
name: String,
...
subscribers: [User]
});
Can I do this? If not - are there any other options?
And can I say subscribers
property to have default value []
and type of User
?