Accessing the database using JDatabase/de: Difference between revisions

From Joomla! Documentation

Created page with "Zugriff auf die Datenbank mit JDatabase"
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{review|}}
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
<noinclude>{{Joomla version|version=3.x}}{{Joomla version|version=2.5|status=eos}}</noinclude>
<noinclude>{{Joomla version|version=3.x}}{{Joomla version|version=2.5|status=eos}}</noinclude>
==Useful information==
==Nützliche Informationen==
Being able to use JDatabase is vital when you start developing for Joomla. The tutorial is split into two independent parts:
Die Verwendung der JDatabase-Klasse ist für die Entwicklung für Joomla sehr wichtig. Das Tutorial ist in zwei separate Teile aufgeteilt:
* [[S:MyLanguage/Inserting, Updating and Removing data using JDatabase|Inserting, updating and removing data from the database]].
* [[S:MyLanguage/Inserting, Updating and Removing data using JDatabase|Einfügen, Aktualisieren und Entfernen von Daten aus der Datenbank]].
* [[S:MyLanguage/Selecting data using JDatabase|Selecting data from one or more tables]] and retrieving it in a variety of different forms.
* [[S:MyLanguage/Selecting data using JDatabase|Auswählen von Daten aus einer oder mehreren Tabellen]] und Abrufen dieser Daten in einer Vielzahl von verschiedenen Formen.


==Advanced information==
==Erweiterte Informationen==
This tutorial looks at how to use transactions with JDatabase (available since {{JVer|3.x}} only):
Dieses Tutorial befasst sich mit der Verwendung von Transaktionen mit JDatabase (verfügbar seit {{JVer|3.x}}):
* [[S:MyLanguage/Using transactions in Joomla|Using transactions in Joomla]]
* [[S:MyLanguage/Using transactions in Joomla|Verwendung von Transaktionen in Joomla]]
This tutorial looks at how to use the union methods in JDatabaseQuery (available in working form since {{JVer|3.3}} only):
Dieses Tutorial befasst sich mit Verwendung von union-Methoden in JDatabaseQuery (verfügbar seit {{JVer|3.3}}):
* [[S:MyLanguage/Using the union methods in database queries|Using the union methods in database queries]]
* [[S:MyLanguage/Using the union methods in database queries|Mit union-Methoden in Datenbank-Abfragen arbeiten]]


==Supported Storage Connectors==
==Unterstützte Datenbanktypen==
The table below outlines the database and storage connectors available for Joomla! as well as which version of Joomla they became available in.
Die Tabelle unten beschreibt die verfügbaren Datenbanktypen für Joomla! sowie die jeweilige Joomla!-Version von Joomla, ab der sie verfügbar wurden.


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).
Um einen Datenbanktyp während der Installation von Joomla! oder in der globalen Konfiguration verfügbar zu machen, muss die entsprechende PHP-Bibliothek installiert sein (z. B. für PHP5 und MySQL muss die Bibliothek ''php5-mysql'' installiert werden).


{| class="wikitable"
{| class="wikitable"
! scope="col" | Database
! scope="col" | Datenbank
! scope="col" | Joomla! Versions
! scope="col" | Joomla! Versionen
! scope="col" | Joomla DB
! scope="col" | Joomla DB
|-
|-
| MySQL || {{JVer|1.5}}{{JVer|2.5}}{{JVer|3.0}} || Yes
| MySQL || {{JVer|1.5}}{{JVer|2.5}}{{JVer|3.0}}{{JVer|4.0}} || Ja
|-
|-
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Server || {{JVer|2.5}}{{JVer|3.0}} || Ja
|-
|-
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Yes
| Microsoft SQL Azure || {{JVer|2.5}}{{JVer|3.0}} || Ja
|-
|-
| Postgresql || {{JVer|3.0}} || Yes
| Postgresql || {{JVer|3.0}}{{JVer|4.0}} || Ja (In {{JVer|4.0}} und höher nur über die PDO-Bibliothek für Postgres)
|-
|-
| Oracle DB || {{JVer|3.0}} || No
| Oracle DB || {{JVer|3.0}} || Nein
|-
|-
| SQL Lite || {{JVer|3.0}} || No
| SQL Lite || {{JVer|3.0}}{{JVer|4.0}} || Nein
|-
|-
| PHP Data Objects (PDO)* || {{JVer|3.0}} || No
| PHP Data Objects (PDO)* || {{JVer|3.0}}{{JVer|4.0}} || Nein
|}
|}


* PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.
* PHP Data Objects ist ein Datenbank-Abstraktionsschicht und ist in PHP 5.1+ enthalten.


<noinclude>[[Category:Database]]</noinclude>
<noinclude>
[[Category:Database{{#translation:}}]]
</noinclude>

Latest revision as of 08:56, 17 October 2020

This Article Needs Your Help

This article is tagged because it NEEDS REVIEW. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.


Joomla! 
3.x
Joomla! 
2.5

Nützliche Informationen

Die Verwendung der JDatabase-Klasse ist für die Entwicklung für Joomla sehr wichtig. Das Tutorial ist in zwei separate Teile aufgeteilt:

Erweiterte Informationen

Dieses Tutorial befasst sich mit der Verwendung von Transaktionen mit JDatabase (verfügbar seit Joomla 3.x):

Dieses Tutorial befasst sich mit Verwendung von union-Methoden in JDatabaseQuery (verfügbar seit Joomla 3.3):

Unterstützte Datenbanktypen

Die Tabelle unten beschreibt die verfügbaren Datenbanktypen für Joomla! sowie die jeweilige Joomla!-Version von Joomla, ab der sie verfügbar wurden.

Um einen Datenbanktyp während der Installation von Joomla! oder in der globalen Konfiguration verfügbar zu machen, muss die entsprechende PHP-Bibliothek installiert sein (z. B. für PHP5 und MySQL muss die Bibliothek php5-mysql installiert werden).

Datenbank Joomla! Versionen Joomla DB
MySQL Joomla 1.5Joomla 2.5Joomla 3.0Joomla 4.0 Ja
Microsoft SQL Server Joomla 2.5Joomla 3.0 Ja
Microsoft SQL Azure Joomla 2.5Joomla 3.0 Ja
Postgresql Joomla 3.0Joomla 4.0 Ja (In Joomla 4.0 und höher nur über die PDO-Bibliothek für Postgres)
Oracle DB Joomla 3.0 Nein
SQL Lite Joomla 3.0Joomla 4.0 Nein
PHP Data Objects (PDO)* Joomla 3.0Joomla 4.0 Nein
  • PHP Data Objects ist ein Datenbank-Abstraktionsschicht und ist in PHP 5.1+ enthalten.