Editor > Generator > id
Editor > Generator > id
nskwortsow
Posts: 120Questions: 0Answers: 0
Hi,
In my existing DB schema, I don't use the "id" attribute, but a different name for the primary key in my table.
When using the generator, I get a PDO error
Column not found: 1054 Unknown column 'id' in 'field list'' in /Users/xx/Sites/xx/functions/datatables/Database/Driver/Mysql/Query.php:98
How can I circumvent this?
In my existing DB schema, I don't use the "id" attribute, but a different name for the primary key in my table.
When using the generator, I get a PDO error
Column not found: 1054 Unknown column 'id' in 'field list'' in /Users/xx/Sites/xx/functions/datatables/Database/Driver/Mysql/Query.php:98
How can I circumvent this?
This discussion has been closed.
Replies
Allan