dbf.py API question concerning Index.index_search()

Ethan Furman ethan at stoneleaf.us
Wed Aug 15 21:22:02 EDT 2012


Steven D'Aprano wrote:
> On 2012年8月15日 16:26:09 -0700, Ethan Furman wrote:
>>> Indexes have a new method (rebirth of an old one, really):
>>>> .index_search(
>> match,
>> start=None,
>> stop=None,
>> nearest=False,
>> partial=False )
> [...]
>> Why "index_search" rather than just "search"?

Because "search" already exists and returns a dbf.List of all matching 
records.
~Ethan~


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /