Difference between revisions of "Accessing the database using JDatabase"
From Joomla! Documentation
(Remove version 1.5 info) |
|||
Line 1: | Line 1: | ||
{{version/tutor|2.5,3.1}} | {{version/tutor|2.5,3.1}} | ||
==Useful information== | ==Useful information== | ||
− | + | Being able to use JDatabase is vital when you start developing for Joomla and the tutorial is split into two independent parts: | |
− | * [[Inserting, Updating and Removing data using JDatabase|Inserting, updating and removing data from the database]] | + | * [[Inserting, Updating and Removing data using JDatabase|Inserting, updating and removing data from the database]]. |
* [[Selecting data using JDatabase|Selecting data from one or more tables]] and retrieving it in a variety of different forms | * [[Selecting data using JDatabase|Selecting data from one or more tables]] and retrieving it in a variety of different forms | ||
+ | |||
+ | ==Advanced information== | ||
+ | This tutorial looks at how to transactions with JDatabase (available since {{JVer|3.x}} only: | ||
+ | * [[Using transactions in Joomla]] | ||
==Supported Storage Connectors== | ==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. | The table below outlines the database and storage connectors available for Joomla! as well as which version of Joomla they became available in. | ||
Revision as of 11:29, 5 September 2013
Useful information[edit]
Being able to use JDatabase is vital when you start developing for Joomla and the tutorial is split into two independent parts:
- Inserting, updating and removing data from the database.
- Selecting data from one or more tables and retrieving it in a variety of different forms
Advanced information[edit]
This tutorial looks at how to transactions with JDatabase (available since only:
Supported Storage Connectors[edit]
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 |
---|---|
MySQL | |
Microsoft SQL Server | |
Microsoft SQL Azure | |
Postgresql | |
Oracle DB | |
SQL Lite | |
PHP Data Objects (PDO)* |
- PHP Data Objects is a database abstraction layer and is shipped with PHP 5.1+.