Flask Sqlalchemy - Do we have -> update_or_create, get_or_create, get_object_or_404, get_list_or_404 like Django

后端 未结 0 1913
青春惊慌失措
青春惊慌失措 2021-02-09 12:16

I want to get an object from the database if it already exists (based on provided parameters) or create it if it does not.

I am looking solutions for all this functions:<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题