Skip to content

feat: support unsupported database drivers - #20442

Draft
danharrin wants to merge 3 commits into
4.xfrom
feat/unsupported-database-compatibility
Draft

danharrin wants to merge 3 commits into
4.xfrom
feat/unsupported-database-compatibility

Conversation

@danharrin

Copy link
Copy Markdown
Member

Description

Adds compatibility extension points for Eloquent database drivers that Filament does not natively support.

Unsupported drivers can implement relationship ordering, relationship aggregate filtering and sorting, and unattached relationship queries without package-specific adapters. Search falls back to Laravel's whereLike(), while MariaDB, MySQL, PostgreSQL, SQLite, and SQL Server retain Filament's existing driver-specific behavior.

The compatibility methods and their intended signatures are documented in the database compatibility guide.

Visual changes

None.

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

Co-authored-by: Amp <amp@ampcode.com>
@danharrin danharrin added this to the v4 milestone Sep 4, 2026
@danharrin danharrin added the enhancement New feature or request label Sep 4, 2026
Co-authored-by: Amp <amp@ampcode.com>
@danharrin
danharrin marked this pull request as draft September 4, 2026 11:16
…ase-compatibility

Co-authored-by: Amp <amp@ampcode.com>

# Conflicts:
#	tests/src/Support/helpersTest.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant