Skip to content

Commit

Permalink
fixing a bad error in documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Mar 8, 2015
1 parent e0c16e3 commit 3072118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ db.connect()
return sco.oneOrNone("select * from users where active=$1 and id=$1", [true, 123]);
})
.then(function(data){
return db.tx(function(ctx){
return sco.tx(function(ctx){

// Since it is a transaction within a shared chain, it doesn't matter whether
// the two calls below use object 'ctx' or 'sco', as they are exactly the same:
Expand Down

0 comments on commit 3072118

Please sign in to comment.