@onurege3467/zerohelper 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/readme.md +7 -7
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -76,15 +76,15 @@ db.has('foo') // returns true or false
|
|
|
76
76
|
console.log('Database Connected');
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
db.set('foo','bar') // sets foo to bar
|
|
80
|
-
db.push('array','x') // pushs x to array
|
|
81
|
-
db.delete('foo') // deletes foo
|
|
79
|
+
db.set('table','foo','bar') // sets foo to bar
|
|
80
|
+
db.push('table','array','x') // pushs x to array
|
|
81
|
+
db.delete('table','foo') // deletes foo
|
|
82
82
|
|
|
83
|
-
db.add('number',1) // adds 1 to number
|
|
84
|
-
db.sub('number',1) // subtracts 1 from number
|
|
83
|
+
db.add('table','number',1) // adds 1 to number
|
|
84
|
+
db.sub('table','number',1) // subtracts 1 from number
|
|
85
85
|
|
|
86
|
-
db.get('foo') // gets foo value
|
|
87
|
-
db.has('foo') // returns true or false
|
|
86
|
+
db.get('table','foo') // gets foo value
|
|
87
|
+
db.has('table','foo') // returns true or false
|
|
88
88
|
|
|
89
89
|
db.ping() // returns database ping
|
|
90
90
|
})()
|