메소드 | 설명 | |
---|---|---|
__construct ( FluentPDO $fpdo, string $table, $values ) | InsertQuery constructor. | |
delayed ( ) : InsertQuery | Force insert operation delay support | |
execute ( mixed $sequence = null ) : integer | Execute insert query | |
ignore ( ) : InsertQuery | Force insert operation to fail silently | |
onDuplicateKeyUpdate ( array $values ) : InsertQuery | Add ON DUPLICATE KEY UPDATE | |
values ( $values ) : InsertQuery | Add VALUES |
메소드 | 설명 | |
---|---|---|
buildParameters ( ) : array | ||
filterLiterals ( $statements ) : array | Removes all FluentLiteral instances from the argument since they are not to be used as PDO parameters but rather injected directly into the query | |
getClauseInsertInto ( ) : string | ||
getClauseOnDuplicateKeyUpdate ( ) : string | ||
getClauseValues ( ) : string | ||
parameterGetValue ( $param ) : string |
메소드 | 설명 | |
---|---|---|
addOneValue ( array $oneValue ) |
public __construct ( FluentPDO $fpdo, string $table, $values ) | ||
$fpdo | FluentPDO | |
$table | string | |
$values |
public delayed ( ) : InsertQuery | ||
리턴 | InsertQuery |
protected filterLiterals ( $statements ) : array | ||
$statements | ||
리턴 | array |
protected getClauseOnDuplicateKeyUpdate ( ) : string | ||
리턴 | string |
public ignore ( ) : InsertQuery | ||
리턴 | InsertQuery |
public onDuplicateKeyUpdate ( array $values ) : InsertQuery | ||
$values | array | |
리턴 | InsertQuery |