Issues

ZF-56: Zend_Db_Table insert problems with last_insert_id on postgre

Issue Type: Bug Created: 2006-06-20T03:11:11.000+0000 Last Updated: 2007-07-05T14:44:27.000+0000 Status: Closed Fix version(s): Reporter: Tautvydas Andrikys (esminis) Assignee: Gavin (gavin) Tags: - Zend_Db

Related issues: - ZF-78

Attachments:

Description

Zend_Db_Table insert method returns bad lastInsertId because sequence is not passed, fix:

public function insert( &$data ) { $this->db->insert( $this->_name, $data ); return $this->_db->lastInsertId( $this->_name . '' . $this->_primary . '_seq' ); }

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts