Resolve "getObject return a new object if it does not exists"
Compare changes
+ 36
− 9
@@ -212,8 +212,6 @@ function deleteApp(dbName: string) {
@@ -222,11 +220,11 @@ function updateObject(dbName: string, docName: string, document: string) {
@@ -239,22 +237,26 @@ function updateObject(dbName: string, docName: string, document: string) {
@@ -263,8 +265,8 @@ function updateObject(dbName: string, docName: string, document: string) {
@@ -301,23 +303,48 @@ function getObjects(dbName: string) {