Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 3455:e01bc6d65fa9
fixed documentation of filter()...
...in the case of multiple values in a String search [SF#1373396]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 13 Jan 2006 00:05:46 +0000 |
| parents | 4aeb0d0cf0d6 |
| children | 1142dafe0d7f |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Tue Jan 10 05:32:56 2006 +0000 +++ b/roundup/backends/rdbms_common.py Fri Jan 13 00:05:46 2006 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.159 2005-10-07 05:35:04 richard Exp $ +# $Id: rdbms_common.py,v 1.160 2006-01-13 00:05:46 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -2050,9 +2050,11 @@ "search_matches" is {nodeid: marker} or None - The filter must match all properties specificed - but if the - property value to match is a list, any one of the values in the - list may match for that property to match. + The filter must match all properties specificed. If the property + value to match is a list: + + 1. String properties must match all elements in the list, and + 2. Other properties must match any of the elements in the list. ''' # we can't match anything if search_matches is empty if search_matches == {}:
