Read or increment a database value.
+Read or increment a database value. This measures round trip times browser-database-browser.
Counter:{{counter}}
| Option | +Action | +Once | Repeat | Last | Count | @@ -27,13 +28,17 @@
|---|---|---|---|---|---|
| Get |
- |
- |
+
{{getValues.last}} | @@ -57,12 +62,15 @@||
| Update |
- |
- |
{{postValues.last}}
@@ -131,6 +139,12 @@
}
})
},
+ gchange(v){
+ if(v)this.get()
+ },
+ pchange(v){
+ if(v)this.update()
+ },
reset(){
Object.assign(this.getValues,this.getValues.clear());
Object.assign(this.postValues,this.postValues.clear());
diff --git a/src/vue-poc/features/search.vue b/src/vue-poc/features/search.vue
index 9ff53dd..3fe6f17 100644
--- a/src/vue-poc/features/search.vue
+++ b/src/vue-poc/features/search.vue
@@ -1,7 +1,7 @@
|