()
| 335 | } |
| 336 | |
| 337 | toJSON() { |
| 338 | const o:Pad = {...this, pool: this.pool.toJsonable()}; |
| 339 | // @ts-ignore |
| 340 | delete o.db; |
| 341 | // @ts-ignore |
| 342 | delete o.id; |
| 343 | return o; |
| 344 | } |
| 345 | |
| 346 | // save all attributes to the database |
| 347 | async saveToDatabase() { |
no test coverage detected