Quick ORM
2.4.0
2.4.0
  • Introduction
  • What's New?
  • Upgrade Guide
  • Getting Started
    • Defining An Entity
    • Retrieving Entities
    • Creating New Entities
    • Updating Existing Entities
    • Deleting Entities
    • Query Scopes
  • Relationships
    • Relationship Types
      • hasOne
      • hasMany
      • belongsTo
      • belongsToMany
      • hasManyThrough
      • polymorphicBelongsTo
      • polymorphicHasMany
    • Retrieving Relationships
    • Eager Loading
  • CBORM Compatibility Shim
  • Collections
  • Custom Getters & Setters
  • Serialization
  • Interception Points
  • Debugging
  • Contributing
Powered by GitBook
On this page
  • 2.4.0
  • 2.3.0
  • 2.2.0
  • 2.1.0

Was this helpful?

Edit on Git
Export as PDF

What's New?

PreviousIntroductionNextUpgrade Guide

Last updated 5 years ago

Was this helpful?

2.4.0

  • Apply custom setters when hydrating from the database.

  • This allows you to use scopes to perform query functions and return values. (If you do not want to return a custom value, return the QueryBuilder instance or nothing.)

  • Improve error messages for not loaded entities.

  • Return the correct memento with accessors on.

2.3.0

2.2.0

  • (first and find methods)

2.1.0

  • Mapping foreign keys for relationships is now optional

  • Either entities or primary key values can be passed to relationship persistance methods

  • Relationships can also be saved by calling "set" & relationshipName

  • works on ColdBox 5.2+

Relationship Fetch Methods
Virtual Inheritance
Query scopes can return any value.
Subselect Helper
Global Scopes
saveMany
Option to ignore non-existent attributes