This is a data manage tool for javascript, it can easily manage your data in javascript.
matching the ES6 javascript grammar.
The key must be type of string, and the value can be any object or even a function.
The input args must be an array,otherwise it will not run.And the args of this function must be a two-dimensional array like: [[key1,value1],[key2,value2],....]
The key must be type of string, the return of this function is an object or a function.If it's a fuction,you can trigger the function like this:(localDB.get('function name'))();
The input args must be an array,otherwise it will return an empty array.And the return of this function is a two-dimensional array.
The input args must be a string,and this function can find all the key like the likeKey in the data pool.The return of this function is a two-dimensional array.But I tend you to use advanced search.
The return of this function is a two-dimensional array,the type of every element of this array is like this:[key,value]
The key must be type of string.
The arr must be an array.And the args in arr is the key that you want to delete.
This function will delete all date.
The key must be type of string, and the value can be any object,the millisecond must be a number.
This function can set a value where have the lifecycle,it depends on the millisecond.