Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

edit

  • Loading branch information...
commit 268f0c37d246799ab0a367e760fd76ad0638c769 1 parent ca1d0bb
@anandology anandology authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 cookbook/multidbs.md
View
6 cookbook/multidbs.md
@@ -16,9 +16,9 @@ webpy 0.3 supports multiple databases by removing the database from a part of th
db1 = web.database(dbn='mysql', db='dbname1', user='foo')
db2 = web.database(dbn='mysql', db='dbname2', user='foo')
-
- print db1.select('foo', where='id=1')
- print db2.select('bar', where='id=5')
+
+ print db1.select('foo', where='id=1')
+ print db2.select('bar', where='id=5')
insert, update, delete and query methods can also be used in the similar way.
Please sign in to comment.
Something went wrong with that request. Please try again.