Solar_Sql_Adapter_Pgsql::nextSequence()

public int Solar_Sql_Adapter_Pgsql::nextSequence ( string $name )

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

Inherited from Solar_Sql_Adapter.

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.



Local