bulkRemoveResult.concat is not a function

I am having a loop that require doing a delete of 1 record at a time. But I received that message " bulkRemoveResult.concat is not a function ". Here is the SQL for deletion:

export async function delMyParam(xTitle, xUser) {
    try {
        const sqlStmt = 'DELETE FROM myParams WHERE title = "' + xTitle + '" and userId = "' + xUser + '"';
        const results = await sql(sqlStmt);
        return results.payload.deleted;
    } catch (error) {
        console.error(error);
    }

}

Where can I find documentation of all possible error that the SQL package could return as error.