- Drupal 8 Module Development
- Daniel Sipos
- 177字
- 2021-07-02 12:22:32
Databases and MySQL
In the past, Drupal has supported two databases—MySQL and PostgreSQL. Drupal 7 and 8 have moved beyond this. Drupal now uses the powerful PHP Data Objects (PDO) library that is standard in PHP 7. This library is an abstraction layer that allows developers to support numerous databases, including MySQL, PostgreSQL, SQLite, and MariaDB.
The minimum database versions for Drupal 8.7 are as follows:
- MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage engine
- PostgreSQL 9.1.2 or higher with PDO SQLite 3.7.11 or higher
- SQLite 3.7.11 or higher
Additionally, Drupal provides a powerful database API along with SQL coding conventions that make it easy to interact with your database—which, combined, allow you to write safe and portable SQL. However, more and more abstractions have been made at different levels, removing the need for SQL writing almost completely. However, we will still see some examples just so your toolbox does not miss anything, as well as cover all the tools at your disposal for querying your database.
- 自己動手寫搜索引擎
- Learning RxJava
- PostgreSQL技術(shù)內(nèi)幕:事務(wù)處理深度探索
- R語言數(shù)據(jù)可視化實戰(zhàn)
- 名師講壇:Java微服務(wù)架構(gòu)實戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- Python 3破冰人工智能:從入門到實戰(zhàn)
- 差分進(jìn)化算法及其高維多目標(biāo)優(yōu)化應(yīng)用
- Python機器學(xué)習(xí)編程與實戰(zhàn)
- 概率成形編碼調(diào)制技術(shù)理論及應(yīng)用
- Flux Architecture
- 自制編程語言
- Go并發(fā)編程實戰(zhàn)
- RISC-V體系結(jié)構(gòu)編程與實踐(第2版)
- Java EE 8 Application Development
- Extending Puppet(Second Edition)