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
When instantiating a Table object, we do this (like in 99% of ORMs):
Band(name="Pythonistas", popularity=1000)
Some Piccolo queries allow you to pass in a dictionary mapping column references to values, instead of using kwargs. It's nice for tab completion, and also for catching errors.
Band.update({
Band.popularity: 2000
}).run_sync()
It would be good to have this ability for instantiating objects too. Something like:
When instantiating a Table object, we do this (like in 99% of ORMs):
Some Piccolo queries allow you to pass in a dictionary mapping column references to values, instead of using kwargs. It's nice for tab completion, and also for catching errors.
It would be good to have this ability for instantiating objects too. Something like:
The text was updated successfully, but these errors were encountered: