diff --git a/en/api/index.rst b/en/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/en/api/index.rst +++ b/en/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/en/reference/db.rst b/en/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100644 --- a/en/reference/db.rst +++ b/en/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/es/api/index.rst b/es/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/es/api/index.rst +++ b/es/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/es/reference/db.rst b/es/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100644 --- a/es/reference/db.rst +++ b/es/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/fr/api/index.rst b/fr/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/fr/api/index.rst +++ b/fr/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/fr/reference/db.rst b/fr/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100755 --- a/fr/reference/db.rst +++ b/fr/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/ja/api/index.rst b/ja/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/ja/api/index.rst +++ b/ja/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/ja/reference/db.rst b/ja/reference/db.rst index 46e4563b546b..b367d49eefe1 100755 --- a/ja/reference/db.rst +++ b/ja/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ 独自アダプタの実装 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - 追加のPDOオプションの設定 --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/pl/api/index.rst b/pl/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/pl/api/index.rst +++ b/pl/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/pl/reference/db.rst b/pl/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100644 --- a/pl/reference/db.rst +++ b/pl/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/pt/api/index.rst b/pt/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/pt/api/index.rst +++ b/pt/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/pt/reference/db.rst b/pt/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100755 --- a/pt/reference/db.rst +++ b/pt/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/ru/api/index.rst b/ru/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/ru/api/index.rst +++ b/ru/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/ru/reference/db.rst b/ru/reference/db.rst index 87d3082e7984..2aed26c6a3f1 100755 --- a/ru/reference/db.rst +++ b/ru/reference/db.rst @@ -25,8 +25,6 @@ +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | Библиотека SQLite реализует автономную, бессерверную, не требующую конфигурации и при этом поддерживающую транзакции базу данных на основе языка SQL. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle является объектно-реляционной системой управления базами данных, производится и продается компанией Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Реализации собственных адаптеров ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | Специфичные диалекты SQL для SQLite | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | Специфичные диалекты SQL для Oracle | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Реализации собственных диалектов ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ // Создаем соединение $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Расширенная конфигурация - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Создаем соединение - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Настройка дополнительных параметров PDO --------------------------------------- Вы можете установить опции PDO во время соединения, передавая параметры ‘options’: diff --git a/uk/api/index.rst b/uk/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/uk/api/index.rst +++ b/uk/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/uk/reference/db.rst b/uk/reference/db.rst index 0de393fdc5c8..a9bf2b0a7d58 100644 --- a/uk/reference/db.rst +++ b/uk/reference/db.rst @@ -25,8 +25,6 @@ database engines are supported: +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle is an object-relational database management system produced and marketed by Oracle Corporation. | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ Implementing your own adapters ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -46,8 +44,6 @@ Phalcon encapsulates the specific details of each database engine in dialects. T +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQL specific dialect for SQLite database system | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | SQL specific dialect for Oracle database system | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ Implementing your own dialects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -106,28 +102,6 @@ below shows how to create a connection passing both required and optional parame // Create a connection $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // Advanced configuration - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // Create a connection - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - Setting up additional PDO options --------------------------------- You can set PDO options at connection time by passing the parameters 'options': diff --git a/zh/api/index.rst b/zh/api/index.rst index 23247c1636d2..24b4af7663c6 100644 --- a/zh/api/index.rst +++ b/zh/api/index.rst @@ -69,13 +69,11 @@ API Indice Phalcon_Db_Adapter Phalcon_Db_Adapter_Pdo Phalcon_Db_Adapter_Pdo_Mysql - Phalcon_Db_Adapter_Pdo_Oracle Phalcon_Db_Adapter_Pdo_Postgresql Phalcon_Db_Adapter_Pdo_Sqlite Phalcon_Db_Column Phalcon_Db_Dialect Phalcon_Db_Dialect_MySQL - Phalcon_Db_Dialect_Oracle Phalcon_Db_Dialect_Postgresql Phalcon_Db_Dialect_Sqlite Phalcon_Db_Exception diff --git a/zh/reference/db.rst b/zh/reference/db.rst index 733b3e97e5ff..241ee5e4294e 100644 --- a/zh/reference/db.rst +++ b/zh/reference/db.rst @@ -23,8 +23,6 @@ +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ | SQLite | SQLite是一个实现一个自包含的,无服务器,零配置,支持事务的SQL数据库引擎的软件库 | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Sqlite <../api/Phalcon_Db_Adapter_Pdo_Sqlite>` | +------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ -| Oracle | Oracle是一个对象-关系数据库,由甲骨文公司生产和销售。 | :doc:`Phalcon\\Db\\Adapter\\Pdo\\Oracle <../api/Phalcon_Db_Adapter_Pdo_Oracle>` | -+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------+ 自定义适配器(Implementing your own adapters) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -44,8 +42,6 @@ Phalcon把每个数据库引擎的具体操作封装成“方言”,这些“ +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ | SQLite | SQLite的具体“方言” | :doc:`Phalcon\\Db\\Dialect\\Sqlite <../api/Phalcon_Db_Dialect_Sqlite>` | +------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ -| Oracle | Oracle的具体“方言” | :doc:`Phalcon\\Db\\Dialect\\Oracle <../api/Phalcon_Db_Dialect_Oracle>` | -+------------+-----------------------------------------------------+--------------------------------------------------------------------------------+ 自定义“方言”(Implementing your own dialects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -104,28 +100,6 @@ Phalcon把每个数据库引擎的具体操作封装成“方言”,这些“ // 创建连接 $connection = new \Phalcon\Db\Adapter\Pdo\Sqlite($config); -.. code-block:: php - - 'scott', - 'password' => 'tiger', - 'dbname' => '192.168.10.145/orcl' - ); - - // 高级配置信息 - $config = array( - 'dbname' => '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=xe)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=20)(DELAY=5))))', - 'username' => 'scott', - 'password' => 'tiger', - 'charset' => 'AL32UTF8' - ); - - // 创建连接 - $connection = new \Phalcon\Db\Adapter\Pdo\Oracle($config); - 设置额外的 PDO 选项(Setting up additional PDO options) -------------------------------------------------------- 你可以在连接的时候,通过传递'options'参数,设置PDO选项: