• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

piko-framework / db-record / 29317359394

14 Jul 2026 08:09AM UTC coverage: 91.72% (-8.3%) from 100.0%
29317359394

push

github

ilhooq
feat(dbrecord): add advanced type casting, metadata resolver and domain
exceptions

- add metadata extraction layer (Metadata, MetadataResolver) to simplify
  DbRecord internals
- introduce ValueCaster with support for booleans, decimals
  (scale/no-scale) and mutable DateTime
- support custom casts via Column attribute options
- add contextual DbRecord exceptions (schema, persistence, not found)
  and exists() handling
- allow inserts with provided string primary keys
- preserve exact decimal strings when no scale is defined
- improve alter event typing and internal bind/mapping helpers
- extend test coverage with advanced type/decimal/error model cases
- update README with advanced type usage and behavior

213 of 235 new or added lines in 4 files covered. (90.64%)

4 existing lines in 1 file now uncovered.

288 of 314 relevant lines covered (91.72%)

16.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.92
/src/DbRecord/ValueCaster.php


Build SHA Not Found

The commit SHA "cc583522bba0eb1073fd0bedb96646608f022f52" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc