src/Neevo/Statement.php
public function insertId(){
		if($this->type !== Manager::STMT_INSERT)
			throw new LogicException(__METHOD__ . ' can be called only on INSERT statements.');

		$this->performed || $this->run();
		try{
			return $this->connection->getDriver()->getInsertId();
		} catch(ImplementationException $e){
			return false;
		}
	}
public function insertId(){
		if($this->type !== Manager::STMT_INSERT)
			throw new LogicException(__METHOD__ . ' can be called only on INSERT statements.');

		$this->performed || $this->run();
		try{
			return $this->connection->getDriver()->getInsertId();
		} catch(ImplementationException $e){
			return false;
		}
	}
public function insertId ( ) { if ( $ this -> type !== Manager :: STMT_INSERT ) throw new LogicException ( __METHOD__ . ' can be called only on INSERT statements.' ) ; $ this -> performed || $ this -> run ( ) ; try { return $ this -> connection -> getDriver ( ) -> getInsertId ( ) ; } catch ( ImplementationException $ e ) { return false ; } }
Returns the ID generated in the last INSERT statement.
@return int|bool
@throws NeevoException on non-INSERT statements.
Returns the ID generated in the last INSERT statement .