Add database Controller class for manipulating entity data #13

Merged
vlw merged 1 commit from refs/pull/13/head into master 2025-11-30 13:56:32 +01:00
vlw commented 2025-11-30 13:55:58 +01:00 (Migrated from codeberg.org)

This PR adds a new database boilerplate for manipulating data stored in a database through an instanced database Model. The only method implemented by this class so far is Controller()->update(). It can be used to patch column values for a database row given an instanced vlw\Database\Model. An associative array of column keys and values are then passed to the update method.

This PR adds a new database boilerplate for manipulating data stored in a database through an instanced database Model. The only method implemented by this class so far is `Controller()->update()`. It can be used to patch column values for a database row given an instanced `vlw\Database\Model`. An associative array of column keys and values are then passed to the update method.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vlw/scaffold!13
No description provided.