GreatSchool2
GreatSchool2
> > I'm not sure that it's correct to add field to the model that's actually is not related to the model itself, but it seems there is no better...
I'll admit it didn't work at first (I didn't see the extra column in `parseDatabaseJson`), so I found another suggestion and just went with that.
Yeah, the issue had to do with how IDs are detected on an object. I traced the logic to: https://github.com/Vincit/objection.js/blob/32a90c1c1e1ab808fa4562635417006a53ccfc36/lib/model/modelColPropMap.js#L5 and observed that since my constructors (which took an optional...
Would a @column('columnName') property decorator be appropriate? You'd use it to decorate a property of a model and the default (or base class) columnNameMapper would consult this property when performing...