SQLite3Stmt sınıfı
(PHP 5 >= 5.3.0, PHP 7, PHP 8)
Giriş
SQLite 3 eklentisi için hazır deyimleri içeren sınıf.
İçindekiler
bohwaz ¶11 years ago
There is an undocumented method "readOnly" in this class, as reported on https://bugs.php.net/bug.php?id=65216
This method can be used like this :
<?php
$db = new SQLite3(':memory:');
$db->exec('CREATE TABLE test (column);');
$stmt = $db->prepare('SELECT column FROM test;');
var_dump($stmt->readOnly()); $stmt = $db->prepare('INSERT INTO test (42);');
var_dump($stmt->readOnly()); ?>