Support Topics Documentation Slack YouTube Blog

Can I auto-load relationship with the ownerId field?

Can I auto-load relationship with the ownerId field?

Could you please elaborate? What exactly are you trying to do?

So, every table have an ownerId field. Is that represents a relationship with the users table. How can I load the user info when I fetch this table using the ownerId? Because when I create a relationship I can set Autoload but in the onwerId doesnt show this option

You should fetch user by ownerID from Users table for this. Auto-load option does not applies to ownerId column since it is not a relation, but just a string. Console just provides quick link to user.