Changeset 5556
- Timestamp:
- 06/27/07 14:16:05 (1 year ago)
- Files:
-
- django/trunk/docs/db-api.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/db-api.txt
r5555 r5556 1190 1190 SELECT ... WHERE title REGEXP BINARY '^(An?|The) +'; -- MySQL 1191 1191 1192 SELECT ... WHERE REGEXP_LIKE(title, '^(an?|the) +', 'c'); -- Oracle 1193 1192 1194 SELECT ... WHERE title ~ '^(An?|The) +'; -- PostgreSQL 1193 1195 … … 1196 1198 Using raw strings for passing in the regular expression syntax is recommended. 1197 1199 1198 Regular expression matching is not supported on the ``ado_mssql`` and1199 ``oracle`` backends; thesewill raise a ``NotImplementedError``.1200 Regular expression matching is not supported on the ``ado_mssql`` backend; it 1201 will raise a ``NotImplementedError``. 1200 1202 1201 1203 iregex … … 1211 1213 1212 1214 SELECT ... WHERE title REGEXP '^(an?|the) +'; -- MySQL 1215 1216 SELECT ... WHERE REGEXP_LIKE(title, '^(an?|the) +', 'i'); -- Oracle 1213 1217 1214 1218 SELECT ... WHERE title ~* '^(an?|the) +'; -- PostgreSQL
