From fa1951b4dd2b038a44191ba85d9221a23150a788 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Tue, 13 Sep 2016 00:04:07 +0200 Subject: [PATCH] imrprove README --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2406ca8..2948d3f 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ let myDb2 = new smartdata.Db('someConnectionUrl') myDb1.connect() myDb2.connect() + +// continues in next block... ``` ### class Collection @@ -35,14 +37,16 @@ A collection is defined by the object class (that is extending smartdata.dbdoc) So to get to get access to a specific collection you document ```typescript -class myObject extends DbDoc { +// continues from the block before... + +class myObject extends smartdata.DbDoc { property1:string property2:number constructor(optionsArg:{ queryArg?:any, dataArg?:{ property1:string, - property2:string + property2:number } }) { super(this,optionsArg)