I’ve just realized that my Model (an implementation of GxActiveRecord) loads all columns from the table. I thought it loads the one I had defined only.
How can I change my model or the kind I use it (currently I call model()->findByPk(…)) to only load some of the columns from the table? I thought about creating a view and an own model with the columns I need but that feels like a bad workaround.