← Back to Stormify Documentation

setValue

open operator override fun setValue(thisRef: Any?, property: KProperty<*>, value: T)

Delegate write: on a library-constructed shadow reference, runs AutoTable.hydrate first so that all other fields keep their database values, then stores the new value (so the just-written field wins). On a user-constructed entity (or one already hydrated), stores the value directly with no DB access.