diff options
Diffstat (limited to 'docs/topics/db/sql.txt')
| -rw-r--r-- | docs/topics/db/sql.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt index 1433fa52a1..b909be938e 100644 --- a/docs/topics/db/sql.txt +++ b/docs/topics/db/sql.txt @@ -100,7 +100,7 @@ write:: >>> first_person = Person.objects.raw('SELECT * from myapp_person')[0] However, the indexing and slicing are not performed at the database level. If -you have a big amount of ``Person`` objects in your database, it would be more +you have a big amount of ``Person`` objects in your database, it is more efficient to limit the query at the SQL level:: >>> first_person = Person.objects.raw('SELECT * from myapp_person LIMIT 1')[0] |
