This commit is contained in:
2021-06-25 12:02:37 -04:00
parent 7d562ba010
commit 1f96cbb23e
17 changed files with 620 additions and 145 deletions

View File

@ -14,6 +14,10 @@ class Table{
static async get(index){
try{
if(typeof index === 'object'){
index = index[this._key]
}
let result = await client.HGETALL(`${this.prototype.constructor.name}_${index}`);
if(!result){