Zugriff auf die Datenbank mit JDatabase
From Joomla! Documentation
Joomla!
3.x
Joomla!
2.5
Nützliche Informationen
Die JDatabase-Klasse ist wichtig, wenn Sie mit der Entwicklung für Joomla beginnen . Das Tutorial ist aufgeteilt in zwei separate Teile:
- Einfügen, aktualisieren und entfernen von Daten aus der Datenbank.
- Selecting data from one or more tables and retrieving it in a variety of different forms.
Advanced information
This tutorial looks at how to use transactions with JDatabase (available since
only):
This tutorial looks at how to use the union methods in JDatabaseQuery (available in working form since
only):
Supported Storage Connectors
The table below outlines the database and storage connectors available for Joomla! as well as which version of Joomla they became available in.
To make a connector available in Joomla's installer or global configuration manager, you will need to ensure the PHP library is installed (E.g. for PHP5 and MySQL the php5-mysql library would need to be installed).
| Database | Joomla! Versions | Joomla DB |
|---|---|---|
| MySQL | Yes | |
| Microsoft SQL Server | Yes | |
| Microsoft SQL Azure | Yes | |
| Postgresql | Yes | |
| Oracle DB | No | |
| SQL Lite | No | |
| PHP Data Objects (PDO)* | No |
- PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.