quick icon indicating copy to clipboard operation
quick copied to clipboard

A ColdBox ORM Engine

Results 85 quick issues
Sort by recently updated
recently updated
newest added

There are lots of great interception methods and implicit methods that trigger when [entities load or pre/post saving](https://quick.ortusbooks.com/guide/interception-points). I think it would be great to expand on this idea when...

we have something like this ``` component extends=quick { function relation() { hasOne(...) } function applyGlobalScopes() { this.withFoo().withBar().withBaz(); } function scopeWithFoo(qb) { addSubselect("foo", "relation.nestedRelation.property1"); } function scopeWithBar(qb) { addSubselect("bar", "relation.nestedRelation.property2");...

We have an entity called `qEventSignup` that represents either a player (child) or a user (adult) signing up for some event. Event signups are attached to 'question answers' -- items...

contributions: up for grabs
difficulty: complex
type: bug

seems `matchOne` isn't defined at the following use sites: https://github.com/coldbox-modules/quick/blob/0c4bbcf3882df043f49a77a5fcc39ebe29611365/models/Relationships/BelongsToThrough.cfc#L281 https://github.com/coldbox-modules/quick/blob/0c4bbcf3882df043f49a77a5fcc39ebe29611365/models/Relationships/HasOneThrough.cfc#L76

I've got a scope like ``` function scopeWithFoo( qb ) { return qb.addSubselect("foo", newEntity("someEntity").select("foo").whereSomething()); } ``` later we use the scope, but calling fresh/refresh doesn't update `foo`: ``` var base...

I came across several issues while working through the [Up and Running with Quick](https://github.com/Ortus-Solutions/up-and-running-with-quick) workshop and have documented those issues [here](https://github.com/Ortus-Solutions/up-and-running-with-quick/issues/2). Most of them have a workaround that can be...

Entities that have their `newCollection()` method overridden to use a [QuickCollection ](https://quick.ortusbooks.com/guide/getting-started/retrieving-entities#newcollection) cannot eager load relationships. Using `with('relationship')` or `collection.load('relationship')` throws a "_The value returned from the getEager function is...

Entity 1 `hasOne` Entity 2 (with default) so that even if it doesn't exist, we should get an empty memento. This does not work: ``` Entity1.Entity2().asMemento().get(); ``` But this does:...

https://twitter.com/danjharrin/status/1445406334405459974?s=21

When we have an empty belongsTo relation in a quick entity it fails with full null support. The belongsTo relation is calling the isBuilder function in qb. The isBuilder function...