On this page:
sqlite3-stmt-scanstatus-enabled?
boolean->integer
integer->boolean
->posix/  integer
->jd/  double

6.4 SQLite🔗

 (require toolbox/db/sqlite3) package: toolbox-db-lib

Returns #t if the loaded SQLite library was compiled with SQLITE_ENABLE_STMT_SCANSTATUS, which is required if query profiling is enabled in query via the #:analyze? option. Otherwise, returns #f.

procedure

(boolean->integer v)  (or/c 0 1)

  v : any/c
If v is #f, returns 0, otherwise returns 1.

procedure

(integer->boolean v)  boolean?

  v : (or/c 0 1)
If v is 0, returns #f, otherwise returns #t.

Equivalent to (floor (->posix v)).

procedure

(->jd/double v)  (and/c rational? flonum?)

  v : datetime-provider?
Equivalent to (real->double-flonum (->jd v)).