src/Model/Table/Table.php
public function getNextAutoIncrement() {
		$query = "SHOW TABLE STATUS WHERE name = '" . $this->getTable() . "'";
		$statement = $this->_connection->execute($query);
		$result = $statement->fetch();
		if (!isset($result[10])) {
			return false;
		}
		return (int)$result[10];
	}
public function getNextAutoIncrement() {
		$query = "SHOW TABLE STATUS WHERE name = '" . $this->getTable() . "'";
		$statement = $this->_connection->execute($query);
		$result = $statement->fetch();
		if (!isset($result[10])) {
			return false;
		}
		return (int)$result[10];
	}
public function getNextAutoIncrement ( ) { $ query = "SHOW TABLE STATUS WHERE name = '" . $ this -> getTable ( ) . "'" ; $ statement = $ this -> _connection -> execute ( $ query ) ; $ result = $ statement -> fetch ( ) ; if ( ! isset ( $ result [ 10 ] ) ) { return false ; } return ( int ) $ result [ 10 ] ; }
Return the next auto increment id from the current table
UUIDs will return false

@return int|bool next auto increment value or False on failure
Return the next auto increment id from the current table UUIDs will return false