Updating objects
Update objects in your Baseten Postgres table.
We can access the objects we’ve created by attribute, like the following:
And if we’d like to modify that meal, we can simply reset it like so:
So you could do something like this to the first object:
and its values would change accordingly:
Learn more about adding and updating objects using SQLAlchemy.
Last updated