Die Klasse PDOStatement

(PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 1.0.0)

Einführung

Repräsentiert ein Prepared Statement und, nachdem es ausgeführt wurde, die zugehörige Ergebnismenge.

Klassenbeschreibung

class PDOStatement implements IteratorAggregate {
/* Eigenschaften */
public string $queryString;
/* Methoden */
public bindColumn(
    string|int $column,
    mixed &$var,
    int $type = PDO::PARAM_STR,
    int $maxLength = 0,
    mixed $driverOptions = null
): bool
public bindParam(
    string|int $param,
    mixed &$var,
    int $type = PDO::PARAM_STR,
    int $maxLength = 0,
    mixed $driverOptions = null
): bool
public bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool
public closeCursor(): bool
public columnCount(): int
public debugDumpParams(): ?bool
public errorCode(): ?string
public errorInfo(): array
public execute(?array $params = null): bool
public fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixed
public fetchAll(int $mode = PDO::FETCH_DEFAULT): array
public fetchAll(int $mode = PDO::FETCH_COLUMN, int $column): array
public fetchAll(int $mode = PDO::FETCH_CLASS, string $class, ?array $constructorArgs): array
public fetchAll(int $mode = PDO::FETCH_FUNC, callable $callback): array
public fetchColumn(int $column = 0): mixed
public fetchObject(?string $class = "stdClass", array $constructorArgs = []): object|false
public getAttribute(int $name): mixed
public getColumnMeta(int $column): array|false
public nextRowset(): bool
public rowCount(): int
public setAttribute(int $attribute, mixed $value): bool
public setFetchMode(int $mode): bool
public setFetchMode(int $mode = PDO::FETCH_COLUMN, int $colno): bool
public setFetchMode(int $mode = PDO::FETCH_CLASS, string $class, ?array $constructorArgs = null): bool
public setFetchMode(int $mode = PDO::FETCH_INTO, object $object): bool
}

Eigenschaften

queryString

Verwendete Abfragezeichenkette.

Changelog

Version Beschreibung
8.0.0 PDOStatement implementiert jetzt IteratorAggregate anstelle von Traversable.

Inhaltsverzeichnis

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

PHPUnit in der Version 10 erschienen

Das beliebte Testframeworks PHPUnit ist in der Version 10 erschienen und steht zum Download bereit ...

TheMax

Autor : TheMax
Kategorie: Software & Web-Development

Laravel 10 veröffentlicht

Laravel Version 10 steht mit einer Mindestanforderung von PHP 8.1 zum Download bereit. ...

admin

Autor : admin
Kategorie: Software & Web-Development

DeepL Erweiterung Write als beta veröffentlicht

DeepL hat eine neuen Dienst Namens „write“ veröffentlicht, der die Rechtschreibung und Grammatik mit KI verbessern soll. ...

admin

Autor : admin
Kategorie: Dies und Das

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

Restart the Stream for Fubo TV

The issue could be with a particular channel streaming. Turn off the stream you are facing issues with and try another channel. If that channel st ...

Geschrieben von hensen5005 am 28.05.2023 00:19:38
Forum: Fragen/Vorschläge zum Forum
Check internet speed for smooth function of Fubo TV

Quite often, problems with streaming applications are related to slow internet speeds. So try using other apps like Youtube and check whether your ...

Geschrieben von hensen5005 am 28.05.2023 00:11:16
Forum: Fragen/Vorschläge zum Forum
Reinstall or update the application Fubo App

Much like other applications, Fubotv/connect (https://www.fubo-connect.com/) also receives updates over time. So if there is any pending update fo ...

Geschrieben von hensen5005 am 28.05.2023 00:02:36
Forum: Fragen/Vorschläge zum Forum
Peacock offers faster access to Universal films

In July 2021, Universal released The Boss Baby 2 in theaters, and also for paid subscribers to Peacock on the same day. It did the same in October ...

Geschrieben von hensen5005 am 27.05.2023 23:51:25
Forum: Fragen/Vorschläge zum Forum