Skip to content
This repository was archived by the owner on Mar 2, 2025. It is now read-only.

this.db.do

do- edited this page Oct 16, 2019 · 2 revisions

Исполняет SQL-запрос с заданным списком параметров.

 await this.db.do (
   'DELETE FROM records WHERE id_type = ? AND year < ? ', 
   [this.rq.data.id_type, 2019]
 )

Clone this wiki locally