Previous Page
locale()

Solar_Sql_Adapter
nextSequence()

Next Page
query()

nextSequence()

public int nextSequence ( string $name )

Gets the next number in a sequence; creates the sequence if it does not exist.

Parameters

  • (string) $name: The sequence name; this will be automatically suffixed with '__s' for portability reasons.

Returns

  • (int) The next number in the sequence.

Description

Gets the next number in a sequence; creates the sequence if it does not exist.