code2code

导航

随笔分类 -  python-django

数据库增删改查使用
摘要://增加 test1 = Test(name='runoob') //查找 select * Test.objects.all() // select * from where id = 1 response2 = Test.objects.filter(id=1) //查找并排序 Test.obj 阅读全文

posted @ 2020-09-22 14:24 yz6zy 阅读(104) 评论(0) 推荐(0)