Skip to content

Commit

Permalink
Merge pull request #1 from Picolab/removeEntVar
Browse files Browse the repository at this point in the history
Support entity variable removal
  • Loading branch information
farskipper committed Sep 25, 2017
1 parent e8d1f0c commit 9608331
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/node-pico-engine-core/src/DB.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ module.exports = function(opts){
callback(err, data);
});
},
removeEntVar: function(pico_id, rid, var_name, callback){
ldb.del(["pico", pico_id, rid, "vars", var_name], callback);
},
putAppVar: function(rid, var_name, val, callback){
ldb.put(["resultset", rid, "vars", var_name], val, callback);
},
Expand Down

0 comments on commit 9608331

Please sign in to comment.