THT is in early Beta. We welcome contributors & feedback.

Db.selectRow

Db.selectRow(lockSql)

Description

Return the result of a SQL 'select' statement as a Map.

// Get data for user #123
let query = L'SELECT * FROM users WHERE id = {}';
query.fill(123);
let user = Db.selectRow(query);