2020年7月18日

flask-sqlalchemy的多对多使用

摘要: '''多对多:比如:比如我的flask数据库连接配置这篇文章、他有python标签、又有web后端标签。 python标签、web后端、等很多文章都有''' #encoding: utf-8from sqlalchemy import create_engine,Column,Integer,Flo 阅读全文

posted @ 2020-07-18 15:37 袁佳佳 阅读(1235) 评论(0) 推荐(0) 编辑

flask-sqlalchemy的一对多、 一对一的 relationship的属性backref的使用

摘要: #encoding: utf-8from sqlalchemy import create_engine,Column,Integer,Float,Boolean,DECIMAL,Enum,Date,DateTime,Time,String,Text,func,and_,or_,ForeignKey 阅读全文

posted @ 2020-07-18 13:14 袁佳佳 阅读(868) 评论(0) 推荐(0) 编辑

导航