From 78bdb6760e771d022edeff78c554b664ea331e51 Mon Sep 17 00:00:00 2001 From: PhilKunz Date: Mon, 12 Sep 2016 23:48:58 +0200 Subject: [PATCH] imrove README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f8b628..2406ca8 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Document | smartdata.DbDoc ### class Db represents a Database. Naturally it has .connect() etc. methods on it. Since it is a class you can have multiple DBs defined. -```TypeScript +```typescript import * as smartdata from 'smartdata' let myDb1 = new smartdata.Db('someConnectionUrl') @@ -34,7 +34,7 @@ represents a collection of objects. A collection is defined by the object class (that is extending smartdata.dbdoc) it respresents So to get to get access to a specific collection you document -``` +```typescript class myObject extends DbDoc { property1:string property2:number