davidAtInleague
davidAtInleague
Hi, I inherited a web app that uses Quill. It contains an assumption that Quill, with the edit-html-button, supports arbitrary user-supplied HTML (divs, styles, script, table, inline style attributes, the...
quick 7.3.1 quick/models/QuickQb.cfc Hit a case where Quick tries to treat a string as a struct, e.g. in the following, if `values` is something like `{someColumn: "someValue"}` ``` public any...
Constraints that are applied through a `hasMany` are not applied when that hasMany is used as part of a `hasManyThrough`. Minimal repro as follows. ``` component /*Foo*/ extends="quick.models.BaseEntity" accessors=true {...
quick v6.2.1 This seems to occur using either retrieveQuery() or asQuery(). ``` getInstance( "X" ) .whereValue( 1 ) .asQuery() .update( { 'v' : now().add( 'ww', 1 ) } ); ```...
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...
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");...
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...