Closed neohunter closed 11 years ago
Can you please post the schema of your table?
Found the error,
Was because I was setting
$d->id = '';
before save().
Thank you for letting me know and I am glad you found the bug in your code, but please do supply an accurate code sample when posting issues to open source projects. There is no way I could of helped you with the redacted sample you provided. A maintainer must be able to reproduce the problem to be able to help you.
I have this:
Table is innoDB, latest version of idiorm, primary key field is 'id'