I am using RedBean PHP to upload some data from a webpage to a database, and I need to keep outdated identifiers, preferably as a primary key field. Is it possible to do this with RedBean?
When I try to set id like this:
$bean->id = 56;
No row inserted - the query created instead becomes "UPDATE WHERE id= 56", which does nothing because the record does not exist yet.
source
share