Open michaelarnauts opened 5 years ago
It seems findOne doesn't work. By looking at the code, it seems that the listType isn't passed to the _getGrpByHavingOrderBy function, so the LIMIT 1 never happens.
findOne
listType
_getGrpByHavingOrderBy
See https://github.com/o1lab/xmysql/blob/master/lib/xsql.js#L1067
Please provide dev environment versions of your system
It seems
findOne
doesn't work. By looking at the code, it seems that thelistType
isn't passed to the_getGrpByHavingOrderBy
function, so the LIMIT 1 never happens.See https://github.com/o1lab/xmysql/blob/master/lib/xsql.js#L1067
Please provide dev environment versions of your system