resetSequence() public method
Creates a SQL command for resetting the sequence value of a table's primary key. The sequence will be reset such that the primary key of the next new row inserted will have the specified value or 1.
public $this resetSequence ( $table, $value = null )$table string
The name of the table whose primary key sequence will be reset $value mixed
The value for the primary key of the next new row inserted. If this is not set, the next new row's primary key will hav