This probably needs the same safety checking as the MySQL version? (`isowner: result.length ? result[0].owner === 1 : false`)