comparison roundup/hyperdb.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 3a0d4e4a0f34
children 1142dafe0d7f
comparison
equal deleted inserted replaced
3454:d4cbdfedab1b 3455:e01bc6d65fa9
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: hyperdb.py,v 1.111 2005-07-18 02:35:18 richard Exp $ 18 # $Id: hyperdb.py,v 1.112 2006-01-13 00:05:46 richard Exp $
19 19
20 """Hyperdatabase implementation, especially field types. 20 """Hyperdatabase implementation, especially field types.
21 """ 21 """
22 __docformat__ = 'restructuredtext' 22 __docformat__ = 'restructuredtext'
23 23
646 "sort" and "group" are (dir, prop) where dir is '+', '-' or None 646 "sort" and "group" are (dir, prop) where dir is '+', '-' or None
647 and prop is a prop name or None 647 and prop is a prop name or None
648 648
649 "search_matches" is {nodeid: marker} 649 "search_matches" is {nodeid: marker}
650 650
651 The filter must match all properties specificed - but if the 651 The filter must match all properties specificed. If the property
652 property value to match is a list, any one of the values in the 652 value to match is a list:
653 list may match for that property to match. 653
654 1. String properties must match all elements in the list, and
655 2. Other properties must match any of the elements in the list.
654 """ 656 """
655 raise NotImplementedError 657 raise NotImplementedError
656 658
657 def count(self): 659 def count(self):
658 """Get the number of nodes in this class. 660 """Get the number of nodes in this class.

Roundup Issue Tracker: http://roundup-tracker.org/