Skip to content

Refactored all filter,group,update array keys to use the constants#1918

Open
s3inlc wants to merge 1 commit intodevfrom
dba-refactory-constants
Open

Refactored all filter,group,update array keys to use the constants#1918
s3inlc wants to merge 1 commit intodevfrom
dba-refactory-constants

Conversation

@s3inlc
Copy link
Member

@s3inlc s3inlc commented Feb 6, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors AbstractModelFactory’s option-array key usage to rely on the shared DBA\Factory constants (e.g., Factory::FILTER, Factory::ORDER) rather than hard-coded string keys, improving consistency across the DBA querying layer.

Changes:

  • Replaced hard-coded option keys ('filter', 'order', 'group', 'join', 'update', 'limit') with Factory::* constants throughout query-building methods.
  • Updated the inline documentation for the $options array structure to reference Factory::* keys.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@s3inlc s3inlc requested a review from jessevz February 6, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant