scalikejdbc-async
scalikejdbc-async copied to clipboard
sqlsyntax definer bug
val codinatorSQL = sqls.eq(cod.createdDate, DateTime.now().toString("yyyy-MM-dd"))
Im generating a sqlsyntax and pass over error show Retriving Group Failed.com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'created_date' in where clause is ambiguous
But if i use it direct at model .eq(cod.createdDate, DateTime.now().toString("yyyy-MM-dd")) .append(sqls"${where}")
cod.createdDate are working fine with definer cod.*