程序人生

Python Django直接执行sql语句

Django提供两种方式执行(performing)原始的SQL查询: (1) 、 Manager.raw() :执行原始查询并返回模型实例 (2) 、 Executin...