pickledb icon indicating copy to clipboard operation
pickledb copied to clipboard

Retrieve Entries That Start With

Open ghost opened this issue 7 years ago • 2 comments

Hi ! I am looking for retrieving all entries that start with an exact specified key (partial match).

Is this a feature available or upcoming ?

Thanks !

ghost avatar Oct 17 '18 00:10 ghost

Since the code enforces keys to be str, the implementations should be fairly simple...but, how would you expect to retrieve those entries? has a dict?

nitzanmar avatar Oct 23 '18 14:10 nitzanmar

I have added something that I think solves your request. Let me know if it is not as you thought.

ooojpeg avatar Mar 23 '21 21:03 ooojpeg