(table, key)
| 12 | } |
| 13 | } |
| 14 | get(table, key) { |
| 15 | const data = JSON.parse(fs.readFileSync(dbPath, "utf-8")); |
| 16 | return data[table][key]; |
| 17 | } |
| 18 | set(table, key, value) { |
| 19 | const data = JSON.parse(fs.readFileSync(dbPath, "utf-8")); |
| 20 | data[table][key] = value; |
no test coverage detected