SQLite3 sınıfı

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

Giriş

SQLite 3 veritabanlarına arayüzlük eden sınıf.

Sınıf Sözdizimi

SQLite3 {
/* Yöntemler */
public __construct(string $dosya, int $seçenekler = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, string $anahtar = "")
public backup(SQLite3 $destination, string $sourceDatabase = "main", string $destinationDatabase = "main"): bool
public busyTimeout(int $milliseconds): bool
public changes(): int
public close(): bool
public createAggregate(
    string $isim,
    callable $sekme_işlevi,
    callable $son_işlev,
    int $değş_sayısı = -1
): bool
public createCollation(string $name, callable $callback): bool
public createFunction(
    string $isim,
    callable $işlev,
    int $değş_sayısı = -1,
    int $seçenekler = 0
): bool
public enableExceptions(bool $enable = false): bool
public static escapeString(string $veri): string
public exec(string $sorgu): bool
public lastErrorCode(): int
public lastErrorMsg(): string
public lastInsertRowID(): int
public loadExtension(string $isim): bool
public open(string $dosya, int $seçenekler = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, string $anahtar = ""): void
public openBlob(
    string $table,
    string $column,
    int $rowid,
    string $database = "main",
    int $flags = SQLITE3_OPEN_READONLY
): resource|false
public prepare(string $sorgu): SQLite3Stmt|false
public query(string $sorgu): SQLite3Result|false
public querySingle(string $sorgu, bool $tüm_satır = false): mixed
public setAuthorizer(callable|null $callback): bool
public static version(): array
}

İçindekiler

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top