public function lastInsert()
	{
		$query = $this->connection->createSelect();
		$query->setQuery('*:*');
		$query->setFields(array('timestamp'));
		$query->addSort('timestamp', 'DESC');
		$query->setRows(1);
		$query->setStart(0);

		$results = $this->connection->execute($query);
		foreach ($results as $document)
		{
			foreach ($document as $field => $value)
			{
				$result = $value;
				return $result;
			}
		}
	}
public function lastInsert()
	{
		$query = $this->connection->createSelect();
		$query->setQuery('*:*');
		$query->setFields(array('timestamp'));
		$query->addSort('timestamp', 'DESC');
		$query->setRows(1);
		$query->setStart(0);

		$results = $this->connection->execute($query);
		foreach ($results as $document)
		{
			foreach ($document as $field => $value)
			{
				$result = $value;
				return $result;
			}
		}
	}
public function lastInsert ( ) { $ query = $ this -> connection -> createSelect ( ) ; $ query -> setQuery ( '*:*' ) ; $ query -> setFields ( array ( 'timestamp' ) ) ; $ query -> addSort ( 'timestamp' , 'DESC' ) ; $ query -> setRows ( 1 ) ; $ query -> setStart ( 0 ) ; $ results = $ this -> connection -> execute ( $ query ) ; foreach ( $ results as $ document ) { foreach ( $ document as $ field => $ value ) { $ result = $ value ; return $ result ; } } }
lastInsert - Returns the timestamp of the last document indexed

@access public
@return void
lastInsert - Returns the timestamp of the last document indexed