0 branches
Tree Top files
Code
Clone with HTTPS:
56 years ago
..
redis all: super_batch6 fixes last Apr 17 52.21 KB
mssql all: fix lots of tests last Apr 25 19.6 KB

Description

db is a namespace that contains several useful modules for operating with databases (SQLite, MySQL, MSQL, etc.)

Cross-driver consistency helpers

db.pg and db.mysql accept both user and username in their Config structs.

db.pg, db.mysql, and db.sqlite rows expose row.val(index) and row.values() for direct string access. In db.pg, SQL NULL remains available through row.val_opt(index).

db.pg, db.mysql, and db.sqlite also expose exec_param2(...) as a convenience wrapper around their parameterized query helpers.