improve README

This commit is contained in:
Philipp Kunz 2016-09-13 10:38:00 +02:00
parent f13c12cd47
commit eb54fbcd0d

View File

@ -54,7 +54,7 @@ class myObject extends smartdata.DbDoc { // read the next block about DbDoc
super(this,optionsArg,myDb1)
}
}
let myCollection = myDb1.getCollection(myObject)
let myCollection = myDb1.getCollection<myObject>(myObject)
```
> Alert: You NEVER instantiate a collection.