[READ-ONLY] Provides connection managing and traits for Entities and Queries that can be reused for…

Repo Url https://github.com/cakephp/datasource
Clone Url:
Watchers 4
Issues 0
Forks 1
Last Pushed At 2016-04-25
Tags has:composer has:license has:readme keyword:datasource keyword:entity keyword:query license:mit version:4.x
Last fetched: on 1/3/20

Recent Activity

Date Commit Message
2025-03-01 Added a callable message to the RuleInvoker. (#18203) * Added a callable message to the RuleInvoker. This allows for entity and option context to be used when making an error message. (cherry picked from commit 9bd11aa834158f1685065fc1afee1f8ad0abcba6) * Added strict types to the RulesInvokerTest and the CakePHP license. Fixed test method name test__invoke --> testInvoke. * Updated the @since to CakePHP 5.2. --------- Co-authored-by: Rob Rikken
2025-02-23 Update dependency constraints for the split packages. This should allow using/testing the 5.next branch of the split packages.
2025-02-23 Merge branch '5.x' into 5.next
2025-02-23 Fix issues when "requireFieldPresence" is turned on for an entity. Closes #18164
2025-02-23 Merge branch '5.x' into 5.next
2025-02-23 Optimize/cleanup marshaller code. Now `Entity::set()` itself compares the new and existing value to avoid setting a field as dirty.
2025-02-23 Fix errors in TranslateBehavior with Entity::$requireFieldPresence enabled Refs #18164
2025-02-23 Code improvement
2025-02-23 Merge branch '5.x' into 5.next
2025-02-23 Deprecate the ability to cast entities to string.
2025-02-23 Avoid empty() usage
2025-02-23 Code improvement
2025-02-23 Fix issues when "requireFieldPresence" is turned on for an entity. Closes #18164
2025-02-23 Fix errors in TranslateBehavior with Entity::$requireFieldPresence enabled Refs #18164
2025-02-10 4.5 - Add opt-in path for EntityTrait::has() Give applications a way to gradually opt-in to the breaking changes being made to EntityTrait::has() in 5.x. This should help smooth out upgrades for large applications a bit.
2025-02-10 Issue #17318: Cyclic Recursion while using EntityTrait::getErrors and ::hasErrors
2025-02-10 #17318: Fixed Formatting and phpcs
2025-02-10 #17318 protected EntityTrait::_hasBeenVisited Co-authored-by: ADmad
2025-02-10 Merge branch '4.next' into 4.x
2025-02-10 Clarify a less radical fix.
2025-02-10 Removed deprecated tag. The deprecation was reverted and the property is retained in 5.x. Closes #17379
2025-02-10 Fix up deprecations on interface