SqlStatement¶
-
php\sql\SqlStatement abstract class
implements: Iterator
Methods
bind($index, $value)¶
Parameters:
- $index – int
- $value – mixed
bindDate($index, $time)¶
Parameters:
- $index – int
- $time – php\time\Time
bindTime($index, $time)¶
Parameters:
- $index – int
- $time – php\time\Time
bindTimestamp($index, $time)¶
Parameters:
- $index – int
- $time – php\time\Time, int
bindBlob($index, $blob)¶
Parameters:
- $index – int
- $blob – string, php\io\File, php\io\Stream
fetch()¶throws php\sql\SqlException
Returns: php\sql\SqlResult
update()¶throws php\sql\SqlException
Returns: int
getLastInsertId()¶
Returns: mixed
getGeneratedKeys()¶
Returns: php\sql\SqlResult
current()¶
Returns: php\sql\SqlResult
next()¶
key()¶
valid()¶
rewind()¶