Skip to content

Add model query builder - #18

Merged
rtcoder merged 1 commit into
masterfrom
release/v0.14.0
Jun 17, 2026
Merged

Add model query builder#18
rtcoder merged 1 commit into
masterfrom
release/v0.14.0

Conversation

@rtcoder

@rtcoder rtcoder commented Jun 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a fluent table query builder with select, where, ordering, limits, insert, update, and delete
  • add attribute-driven database models with PrimaryKey, Guarded, and Cast attributes
  • support model find, create, save, delete, hydrated casts, explicit guarded updates, and public column properties
  • update create:model stubs to extend the base Model and define table names
  • document query builder usage, model conventions, guarded fields, and casts
  • cover query builder behavior, model casts, guarded fields, and model persistence with feature tests

Tests

  • composer validate --no-check-publish
  • composer dump-autoload
  • find src application tests -name '*.php' -print0 | xargs -0 -n1 php -l
  • composer test
  • php shift.php route:list
  • php shift.php health

@rtcoder
rtcoder merged commit 9947949 into master Jun 17, 2026
2 checks passed
@rtcoder
rtcoder temporarily deployed to github-pages June 17, 2026 12:42 — with GitHub Pages Inactive
@rtcoder rtcoder added the v0.14.0 Release v0.14.0 label Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v0.14.0 Release v0.14.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant