Skip to content

Commit bb12370

Browse files
committed
Update docs for loadExtension returning bool
1 parent 5caf4c4 commit bb12370

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ $wrapped_connection->loadExtension('mod_spatialite.so');
5959
```
6060
This corresponds to the [`loadExtension`](https://www.php.net/manual/en/sqlite3.loadextension.php)
6161
method in PHP's SQLite3 extension, or [`sqlite3_load_extension](https://sqlite.org/c3ref/load_extension.html)
62-
in the SQLite C interface.
62+
in the SQLite C interface. Returns `true` if the extension was successfully loaded,
63+
false if it was not.
6364

6465
### Obtaining the database filename
6566
To obtain the full disk path of the database connected to, use `getDatabaseFilename()`:

0 commit comments

Comments
 (0)