findOne(number) produces invalid query for tables with no PKEY
v6.1.1
Doing findOne(1)
on a table without a primary key produces the following query:
SELECT * FROM table_name WHERE LIMIT 1
v6.1.1
Doing findOne(1)
on a table without a primary key produces the following query:
SELECT * FROM table_name WHERE LIMIT 1