PHP 트레잇 TORM\Sequences

파일 보기 프로젝트 열기: taq/torm

공개 메소드들

메소드 설명
getSequenceName ( ) : name Returns the sequence name, if any
resolveSequenceName ( ) : name Resolve the sequence name, if any
sequenceNextVal ( string $name ) : mixed Get the next value from a sequence
setSequenceName ( string $name ) : null Set the sequence name, if any

비공개 메소드들

메소드 설명
_checkSequence ( ) : null Create a sequence if not exists
_createOracleSequence ( ) : null Create an Oracle sequence
_createPostgresqlSequence ( ) : null Create a PostgreSQL sequence
_oracleSequenceExists ( string $name ) : exists Check if an Oracle sequence exists
_postgresqlSequenceExists ( string $name ) : exists Check if an PostgreSQL sequence exists
_sequenceExists ( ) : exists Check if a sequence exists

메소드 상세

getSequenceName() 공개 정적인 메소드

Returns the sequence name, if any
public static getSequenceName ( ) : name
리턴 name of the sequence

resolveSequenceName() 공개 정적인 메소드

Resolve the sequence name, if any
public static resolveSequenceName ( ) : name
리턴 name of the sequence

sequenceNextVal() 공개 정적인 메소드

Get the next value from a sequence
public static sequenceNextVal ( string $name ) : mixed
$name string sequence name
리턴 mixed next value

setSequenceName() 공개 정적인 메소드

Set the sequence name, if any
public static setSequenceName ( string $name ) : null
$name string of the sequence
리턴 null