ensure_db function

Ensure that the DB exists and has the right columns

Ensure that the DB exists and has the right columns

We try a query, and if it fails then we try to create the DB.

ensure_db(db)

Arguments

  • db: DB file.
  • Maintainer: Gábor Csárdi
  • License: MIT + file LICENSE
  • Last published: 2019-03-08