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

this.db.select_scalar

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

Извлечение единственного поля первой записи из заданной выборки.

  let v = await this.db.select_scalar (
    'SELECT value FROM settings WHERE key = ?', 
    [this.rq.id]
  )

Clone this wiki locally