mirror of
https://github.com/django/django.git
synced 2025-01-31 20:59:17 +00:00
Refs #26167 -- Corrected OpClass() example in docs.
This commit is contained in:
parent
84ad7f3404
commit
90ddf46ef7
@ -190,7 +190,10 @@ available from the ``django.contrib.postgres.indexes`` module.
|
|||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
Index(OpClass(Lower('username'), name='varchar_pattern_ops'))
|
Index(
|
||||||
|
OpClass(Lower('username'), name='varchar_pattern_ops'),
|
||||||
|
name='lower_username_idx',
|
||||||
|
)
|
||||||
|
|
||||||
creates an index on ``Lower('username')`` using ``varchar_pattern_ops``.
|
creates an index on ``Lower('username')`` using ``varchar_pattern_ops``.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user