Roundup Tracker - Issues

Issue 2550522

classification
Add 'filter' command to command-line interface
Type: rfe Severity: normal
Components: Interface Versions: devel
process
Status: fixed fixed
:
: rouilj : richard, rouilj, stefan
Priority: normal :

Created on 2009-02-26 13:12 by stefan, last changed 2020-08-05 07:01 by rouilj.

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()).
msg6934 Author: [hidden] (rouilj) Date: 2020-08-05 06:08
This has been done on rev6250:95183d73ac64. However during development I 
found another possible bug that may affect other code paths.

Running the test suite for mysql and postgres as part of CI. Will close 
if they pass.
msg6935 Author: [hidden] (rouilj) Date: 2020-08-05 07:01
CI passed on all 4 back ends. Closing.
History
Date User Action Args
2020-08-05 07:01:10rouiljsetstatus: open -> fixed
resolution: fixed
messages: + msg6935
2020-08-05 06:08:57rouiljsetpriority: normal
assignee: stefan -> rouilj
status: new -> open
messages: + msg6934
nosy: + rouilj
2009-02-26 13:32:36stefansetmessages: + msg3598
2009-02-26 13:12:11stefancreate