Skip to content
This repository
Browse code

Typo: databse -> database

  • Loading branch information...
commit e2416e8fcdebb40d9461886c3bd475a6dfbf3504 1 parent d811a7c
authored December 10, 2008 anandology committed January 05, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  cookbook/transactions.md
4  cookbook/transactions.md
Source Rendered
@@ -16,7 +16,7 @@ The database object has a method `transaction` which starts a new transaction an
16 16
 
17 17
     import web
18 18
 
19  
-    db = web.databse(dbn="postgres", db="webpy", user="foo", pw="")
  19
+    db = web.database(dbn="postgres", db="webpy", user="foo", pw="")
20 20
     t = db.transaction()
21 21
     try:
22 22
         db.insert('person', name='foo')
@@ -61,4 +61,4 @@ It is also possible to have nested transactions.
61 61
             t.commit()
62 62
 
63 63
 
64  
-Nested transactions are ignored for sqlite as they are not supported.
  64
+Nested transactions are ignored for sqlite as they are not supported.

0 notes on commit e2416e8

Please sign in to comment.
Something went wrong with that request. Please try again.