in my plugin I use an additional table. That table has an
id, which is set to
When I insert something in there, I do something like:
$resource = Mage::getSingleton('core/resource'); $writeConnection = $resource->getConnection('core_write'); $query = 'INSERT INTO test (column1, column2) VALUES (3, 4)'; $writeConnection->query($query);
In this case the table
test has also an id.
Is there a way I could get this id after I inserted it?