摘要: 神奇的双下划线查询 # 一、神奇的双下划线查询​ # 1 年龄大于等于35岁的数据 # res = models.Author.objects.filter(age__gte=35) # print(res)​ # 2 年龄小于35岁的数据 # res = models.Author.objects 阅读全文
posted @ 2021-08-16 19:46 Gnomeshghy 阅读(44) 评论(0) 推荐(0)