Permalink
Browse files

Edited cookbook/query.zh-cn.md via GitHub

  • Loading branch information...
1 parent 1389e7f commit 858fb667f229319fabdc5e780d83e1f75d167ed8 @wendal wendal committed May 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbook/query.zh-cn.md
View
@@ -30,7 +30,7 @@ webpy不会尝试为您和您的数据库建立层。相反,它试图以方便
results = db.query("SELECT * FROM entries JOIN users WHERE entries.author_id = users.id")
-为了防止SQL注入攻击,db.query还接受了“vars”语法如下描述[db.select](/cookbook/select):
+为了防止SQL注入攻击,db.query还接受了“vars”语法如下描述[db.select](select.zh-cn):
results = db.query("SELECT * FROM users WHERE id=$id", vars={'id':10})

0 comments on commit 858fb66

Please sign in to comment.