Werbung
Die SQLite3-Klasse
Einführung
Eine Klasse, die eine Verbindung zu SQLite-3-Datenbanken zur Verfügung stellt
Klassenbeschreibung
SQLite3
SQLite3
{
/* Methods */
public bool createAggregate
( string $name
, mixed $step_callback
, mixed $final_callback
[, int $argument_count = -1
] )
public bool open
( string $filename
[, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE
[, string $encryption_key
]] )
}Inhaltsverzeichnis
- SQLite3::changes — Gibt die Anzahl der Datenbankreihen zurück, die durch die letzte SQL-Anfrage verändert, gelöscht oder hinzugefügt wurden.
- SQLite3::close — Beendet eine Datenbankverbindung
- SQLite3::__construct — Instantiiert ein SQLite3 Objekt und öffnet eine SQLite3 Datenbank
- SQLite3::createAggregate — Registriert eine PHP-Funktion zum Gebrauch als SQL-Aggregat-Funktion
- SQLite3::createFunction — Registers a PHP function for use as an SQL scalar function
- SQLite3::escapeString — Returns a string that has been properly escaped
- SQLite3::exec — Executes a result-less query against a given database
- SQLite3::lastErrorCode — Returns the numeric result code of the most recent failed SQLite request
- SQLite3::lastErrorMsg — Returns English text describing the most recent failed SQLite request
- SQLite3::lastInsertRowID — Returns the row ID of the most recent INSERT into the database
- SQLite3::loadExtension — Attempts to load an SQLite extension library
- SQLite3::open — Opens an SQLite database
- SQLite3::prepare — Prepares an SQL statement for execution
- SQLite3::query — Executes an SQL query
- SQLite3::querySingle — Executes a query and returns a single result
- SQLite3::version — Returns the SQLite3 library version as a string constant and as a number