Roundup Tracker - Issues

Issue 2550522

classification
Title: Add 'filter' command to command-line interface
Type: rfe Severity: normal
Components: Interface Versions: devel
process
Status: new Resolution:
Dependencies: Superseder:
Assigned To: stefan Nosy List: richard, stefan
Priority: Keywords:

Created on 2009-02-26 13:12 by stefan, last changed 2009-02-26 13:32 by stefan.

Messages
msg3597 Author: [hidden] (stefan) Date: 2009-02-26 13:12
hyperdb.Class provides two different ways to find items: find() and
filter(). find() looks up properties in the given class to find a match.
filter() allows transitive properties, so the lookup may be quite complex.

Right now, only the simpler 'find' is accessible through the
command-line interface. I propose a new 'filter' (or 'search' ?) command
exposing the more powerful variant, too.
msg3598 Author: [hidden] (stefan) Date: 2009-02-26 13:32
I just realize that this may be hard to do without making the interface
itself quite complex (e.g., requiring getopt). As what I'm really after
is a version of 'find' that allows transitive properties, I wonder
whether the 'find' command (not the Class method) could support
transitive properties (thus not mapping to Class.find(), but rather
Class.filter()).
History
Date User Action Args
2009-02-26 13:32:36stefansetmessages: + msg3598
2009-02-26 13:12:11stefancreate