quick
quick copied to clipboard
A ColdBox ORM Engine
In 4.1.1, 4.1.2, Quick was updated to preserve casted values after saving. However, in v5 (as of 5.2.1), Quick no longer preserves the value. How to replicate ``` // create...
quick 6.2.1 The following example demonstrates a pattern of using Quick to build some (arbitrarily complicated and reusable) where clause, and then using that clause to drive a QB `whereIn`....
``` component table="RMME_A" extends="quick.models.BaseEntity" accessors=true { property name="id_a" type="numeric" sqltype="int"; property name="v" type="string" sqltype="varchar"; variables._key = "id_a"; function keyType() { return variables._wirebox.getInstance( "NullKeyType@quick" ); // the key comes from Stripe...
The behavior of `reset` seems to have changed between 5.2.0 -> 5.2.7. Grammar is mssql. Repro: ``` // entity def component table="RMME_C" extends="quick.models.BaseEntity" accessors=true { property name="ID_C" type="numeric" sqltype="integer"; variables._key...
Upgrading from 5.1.2 to 5.1.3 introduces a bug where the primary key returns a decimal instead of an integer when getting the memento of an entity that was just **created**....
If you update an entity's `hasMany` relationship _after_ the relationship has been loaded and then attempt to retrieve the relationship, it will not reflect the changes unless you `refresh()` the...
https://wirebox.ortusbooks.com/advanced-topics/wirebox-object-populator/populatefromstruct Whether or not we add these to `.fill()` or add a new method, it'd be nice to support `include` and `exclude`, `ignoreEmpty`, `nullEmptyInclude` and `nullEmptyExclude`. `composeRelationships` is a bit...
I've been using Quick now for about 1-2 months and LOVE IT! It's saved me a ton of time compared to when I relied on my own data mapper objects....
Related to [this post](https://community.ortussolutions.com/t/quick-4-2-4-this-instance-is-not-loaded-so-it-cannot-access-the-relationship/9216) on the Ortus community forums. It would be great if, when requesting relationship data from a non-loaded (new) entity, Quick would return null (or an empty...