Subtract
To subtract a numeric value into a key which stores a numeric datatype.
Example:-
const db = require('hive-db')
db.subtract('bio.age',1);
// output on 'getting' the value => 21
Last updated
Was this helpful?
To subtract a numeric value into a key which stores a numeric datatype.
Example:-
const db = require('hive-db')
db.subtract('bio.age',1);
// output on 'getting' the value => 21
Last updated
Was this helpful?