Improve Drupal's Database Abstraction Layer Extensibility and Capabilities

Created on 24 January 2017, over 8 years ago
Updated 28 May 2025, about 1 month ago

Background

Drupal's Database Abstraction Layer (DBAL) has had few improvements from Drupal 7. Many of the improvements to querying data in Drupal 8 lie in the Storage and Entity Query APIs.

Problem/Motivation

If we want to continue to use our own DBAL, we need to make it more extensible so that new database features can be added and prototyped. Features that are hard to implement:

Full list of DBAL issues: DBAL issues β†’

Questions

  • How do we provide capability/feature detection for Database drivers and maintain automated testing support. Doing this should help with being able to get and resolve new DBAL features in core.
  • Do we kill DBTNG and implement Doctrine/DBAL (See πŸ“Œ Consider using Doctrine ORM for Entities Closed: won't fix )? DBAL has some missing features/nice-to-haves that Drupal's DBAL has.

Proposed resolution

None yet. Collecting ideas and planning.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

database system

Created by

πŸ‡ΊπŸ‡ΈUnited States mradcliffe USA

Live updates comments and jobs are added and updated live.
  • Needs framework manager review

    It is used to alert the framework manager core committer(s) that an issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy draft for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    The Ideas project is being deprecated. This issue is moved to the Drupal project. Check that the selected component is correct. Also, add the relevant tags, especially any 'needs manager review' tags.

Production build 0.71.5 2024