PHP » GoLang |
login |
register |
about
|
GoLang SQLite3::__construct
request it (361)
GoLang replacement for PHP's SQLite3::__construct
[edit | history]
SQLite3::__construct(PHP 5 >= 5.3.0, PHP 7) SQLite3::__construct — Instantiates an SQLite3 object and opens an SQLite 3 database Description
public SQLite3::__construct
( string
$filename
[, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE
[, string $encryption_key = NULL
]] )Instantiates an SQLite3 object and opens a connection to an SQLite 3 database. If the build includes encryption, then it will attempt to use the key. Parameters
Return ValuesReturns an SQLite3 object on success. Errors/ExceptionsThrows an Exception on failure. Changelog
Examples
Example #1 SQLite3::__construct() example
<?php |
more
Recently updated
more
Most requested
more
Last requests
|