0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed #4712: added mention of Oracle in docs from [5555]. Thanks, Tom.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2007-06-27 19:16:05 +00:00
parent 24512a74be
commit a9807db552

View File

@ -1189,14 +1189,16 @@ SQL equivalents::
SELECT ... WHERE title REGEXP BINARY '^(An?|The) +'; -- MySQL SELECT ... WHERE title REGEXP BINARY '^(An?|The) +'; -- MySQL
SELECT ... WHERE REGEXP_LIKE(title, '^(an?|the) +', 'c'); -- Oracle
SELECT ... WHERE title ~ '^(An?|The) +'; -- PostgreSQL SELECT ... WHERE title ~ '^(An?|The) +'; -- PostgreSQL
SELECT ... WHERE title REGEXP '^(An?|The) +'; -- sqlite SELECT ... WHERE title REGEXP '^(An?|The) +'; -- sqlite
Using raw strings for passing in the regular expression syntax is recommended. Using raw strings for passing in the regular expression syntax is recommended.
Regular expression matching is not supported on the ``ado_mssql`` and Regular expression matching is not supported on the ``ado_mssql`` backend; it
``oracle`` backends; these will raise a ``NotImplementedError``. will raise a ``NotImplementedError``.
iregex iregex
~~~~~~ ~~~~~~
@ -1211,6 +1213,8 @@ SQL equivalents::
SELECT ... WHERE title REGEXP '^(an?|the) +'; -- MySQL SELECT ... WHERE title REGEXP '^(an?|the) +'; -- MySQL
SELECT ... WHERE REGEXP_LIKE(title, '^(an?|the) +', 'i'); -- Oracle
SELECT ... WHERE title ~* '^(an?|the) +'; -- PostgreSQL SELECT ... WHERE title ~* '^(an?|the) +'; -- PostgreSQL
SELECT ... WHERE title REGEXP '(?i)^(an?|the) +'; -- sqlite SELECT ... WHERE title REGEXP '(?i)^(an?|the) +'; -- sqlite