Skip to content

Commit

Permalink
Merge pull request #2548 from morenoh149/patch-1
Browse files Browse the repository at this point in the history
Fix docs, how to get db connection in pattern
  • Loading branch information
davidism committed Dec 8, 2017
2 parents d08d96a + 2d2c016 commit 4556ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/patterns/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ the application context by hand::
Easy Querying
-------------

Now in each request handling function you can access `g.db` to get the
Now in each request handling function you can access `get_db()` to get the
current open database connection. To simplify working with SQLite, a
row factory function is useful. It is executed for every result returned
from the database to convert the result. For instance, in order to get
Expand Down

0 comments on commit 4556ab2

Please sign in to comment.