You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in the title, I have a TypedModel and want to access the id field. The field gets populated after I save, but I would like to avoid one extra write just to get an id. I saw in the docs that for regular Model instances the id field is populated on creation, and you don't need to save the data to get an id. I would like to have the same functionality on TypedModels, but I don't know what is the simplest way to do that.
Can you help me out?
The text was updated successfully, but these errors were encountered:
As in the title, I have a TypedModel and want to access the id field. The field gets populated after I save, but I would like to avoid one extra write just to get an id. I saw in the docs that for regular Model instances the id field is populated on creation, and you don't need to save the data to get an id. I would like to have the same functionality on TypedModels, but I don't know what is the simplest way to do that.
Can you help me out?
The text was updated successfully, but these errors were encountered: