note 113144 deleted from book.sqlite3 by cmb
| From: | cmb@php.net | Date: | Fri, 02 Sep 2016 14:36:46 +0000 |
| Subject: | note 113144 deleted from book.sqlite3 by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206478@lists.php.net to get a copy of this message | ||
Note Submitter: bohwaz
----
As reported here: https://bugs.php.net/bug.php?id=65216 there are two
undocumented and useful methods available:
SQLite3::createCollation(collation name, callback function) appeared in PHP 5.3.11 and allows to
define a custom collation method.
SQLite3Stmt::readOnly(void) appeared in PHP 5.3.5 and returns true if a statement doesn't write
in the database.
See the documentation pages on the corresponding classes for my comments showing example use of
those methods.