Skip to content

Latest commit

 

History

History
159 lines (111 loc) · 2.16 KB

SqlStatement.md

File metadata and controls

159 lines (111 loc) · 2.16 KB

SqlStatement

  • class SqlStatement (php\sql\SqlStatement)
  • source php/sql/SqlStatement.php

Description

Class SqlStatement


Methods


Methods

bind()

bind(int $index, mixed $value): void

bindDate()

bindDate(int $index, php\time\Time $time): void

bindTime()

bindTime(int $index, php\time\Time $time): void

bindTimestamp()

bindTimestamp(int $index, Time|int $time): void

bindBlob()

bindBlob(int $index, string|File|Stream $blob): void

fetch()

fetch(): SqlResult|null

Returns null if rows does not exist.


update()

update(): int

getLastInsertId()

getLastInsertId(): mixed

getGeneratedKeys()

getGeneratedKeys(): SqlResult

current()

current(): SqlResult

next()

next(): void

{@inheritdoc}


key()

key(): void

{@inheritdoc}


valid()

valid(): void

{@inheritdoc}


rewind()

rewind(): void

{@inheritdoc}