Django Book 翻译
菜单>:
TOC
返回
原文:
The low-level ``execute`` method takes a SQL string with ``%s`` placeholders and automatically escapes and inserts parameters from the list passed as the second argument. You should *always* construct custom SQL this way.
翻译:
底层 ``execute`` 方法采用了一个SQL字符串作为其第二个参数,这个SQL字符串包含若干'%s'占位符,execute方法能够自动对传入列表中的参数进行转义和插入。
备注:
译者: