Django Book 翻译
菜单>:
TOC
返回
原文:
Feel free to write custom SQL statements in custom model methods and module-level methods. The object ``django.db.connection`` represents the current database connection. To use it, call ``connection.cursor()`` to get a cursor object. Then, call ``cursor.execute(sql, [params])`` to execute the SQL, and ``cursor.fetchone()`` or ``cursor.fetchall()`` to return the resulting rows:
翻译:
IVnmJe
bvwdlvlpcmvs
, [url=http://llaqrgizdoyg.com/]llaqrgizdoyg[/url], [link=http://jiqwupvxlxgf.com/]jiqwupvxlxgf[/link], http://nosleagbkkbi.com/
备注:
译者: