InsertStatement
extends Statement
in package
implements
IInsertStatement, Stringable
FinalYes
Tags
Table of Contents
Interfaces
- IInsertStatement
- Stringable
Properties
- $bound_columns : ArrayObject
- $dml_statement_syntax_pregs : array<string|int, mixed>
- $insert_clause : InsertClause
- $modifiers : int
- $on_duplicate_key_update_clause : OnDuplicateKeyUpdateClause
- $partitions : array<string|int, mixed>
- $schemas : array<string|int, mixed>
- $statement_syntax_pregs : array<string|int, mixed>
- $hashCode : int
- $hashCounter : int
Methods
- __call() : mixed
- __callStatic() : mixed
- __construct() : mixed
- __destruct() : mixed
- __get() : mixed
- __toString() : mixed
- {@inheritdoc}
- bind() : mixed
- delayed() : void
- extends() : bool
- fromString() : IStatement|null
- getInsertClause() : IInsertClause
- getReflection() : ReflectionClass
- highPriority() : void
- ignore() : void
- isOff() : bool
- isOn() : bool
- lowPiority() : void
- off() : mixed
- on() : mixed
- onDuplicateKeyUpdate() : mixed
- partition() : void
- init() : mixed
- {@inheritdoc}
- setSchemas() : mixed
Properties
$bound_columns
protected
ArrayObject
$bound_columns
$dml_statement_syntax_pregs
protected
static array<string|int, mixed>
$dml_statement_syntax_pregs
= ["select" => "/^(SELECT )/i"]
$insert_clause
protected
InsertClause
$insert_clause
$modifiers
protected
int
$modifiers
$on_duplicate_key_update_clause
protected
OnDuplicateKeyUpdateClause
$on_duplicate_key_update_clause
$partitions
protected
array<string|int, mixed>
$partitions
= []
$schemas
protected
array<string|int, mixed>
$schemas
= []
$statement_syntax_pregs
protected
static array<string|int, mixed>
$statement_syntax_pregs
= ["ddl" => "", "dml" => "/^(CALL|DELETE|DO|HANDLE|IMPORT TABLE|INSERT|LOAD DATA INFILE|LOAD XML|REPLACE|SELECT|WITH)/i", "tcl" => "", "utility" => "/^(DESCRIBE|DESC|EXPLAIN|HELP|USE)/i"]
$hashCode
private
int
$hashCode
$hashCounter
private
static int
$hashCounter
= 0
Methods
__call()
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Tags
__callStatic()
public
static __callStatic(mixed $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : mixed
- $arguments : array<string|int, mixed>
__construct()
public
__construct(ITable $table) : mixed
Parameters
- $table : ITable
__destruct()
public
__destruct() : mixed
__get()
public
__get(string $property) : mixed
Parameters
- $property : string
__toString()
{@inheritdoc}
public
__toString() : mixed
Tags
bind()
public
bind(mixed $column, mixed $value[, mixed $encrypt = false ]) : mixed
Parameters
- $column : mixed
- $value : mixed
- $encrypt : mixed = false
-
bool
Tags
delayed()
public
delayed() : void
Tags
extends()
public
extends(ReflectionClass $reflector) : bool
Parameters
- $reflector : ReflectionClass
Return values
boolfromString()
public
static fromString(string $statement, array<string|int, mixed> $schemas) : IStatement|null
Parameters
- $statement : string
- $schemas : array<string|int, mixed>
-
The schemas the statement is to be created for and to/will be executed on
Tags
Return values
IStatement|nullgetInsertClause()
public
getInsertClause() : IInsertClause
Tags
Return values
IInsertClausegetReflection()
public
getReflection() : ReflectionClass
Return values
ReflectionClasshighPriority()
public
highPriority() : void
Tags
ignore()
public
ignore() : void
Tags
isOff()
public
isOff(int $bit) : bool
Parameters
- $bit : int
Tags
Return values
boolisOn()
public
isOn(int $bit) : bool
Parameters
- $bit : int
Tags
Return values
boollowPiority()
public
lowPiority() : void
Tags
off()
public
off(int $bit) : mixed
Parameters
- $bit : int
Tags
on()
public
on(int $bit) : mixed
Parameters
- $bit : int
Tags
onDuplicateKeyUpdate()
public
onDuplicateKeyUpdate(array<string|int, mixed> $columns) : mixed
Parameters
- $columns : array<string|int, mixed>
Tags
partition()
public
partition(string $partition) : void
Parameters
- $partition : string
Tags
init()
{@inheritdoc}
protected
init() : mixed
setSchemas()
protected
setSchemas(array<string|int, mixed> $schemas) : mixed
Parameters
- $schemas : array<string|int, mixed>