diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt
index 5ec0485..a8ff88a 100644
|
a
|
b
|
is required. For example::
|
| 220 | 220 | |
| 221 | 221 | return row |
| 222 | 222 | |
| | 223 | |
| | 224 | If you are using more than one database you'll need to get the connection and |
| | 225 | cursor for the right database. Django provides a ``connections`` object which |
| | 226 | is a dictionary-like object that lets you get connections by their alias:: |
| | 227 | |
| | 228 | def my_custom_sql(alias): |
| | 229 | from django.db import connections |
| | 230 | |
| | 231 | cursor = connections[alias].cursor() |
| | 232 | # ... execute SQL |
| | 233 | |
| | 234 | |
| 223 | 235 | .. _transactions-and-raw-sql: |
| 224 | 236 | |
| 225 | 237 | Transactions and raw SQL |