i'm using quite a few `reference()` fields in my d...
# exposed
d
i'm using quite a few
reference()
fields in my database. my data access is through DAOs (
var otherField by OtherData referencedOn Table.otherField
), which resolves to a
OtherData
field.
OtherData
is a
LongEntity
, is there a way to set the reference just by having access to the ID? right now I'm using
otherField = OtherData.findById(otherId)
but it would be nice if I wouldn't have to execute the
findById
statement and could override it with ID only.