manila/manila/db/sqlalchemy
haixin e032c13bfb Add generic fuzzy matching logic to the database layer
share snap list, Fuzzy query by name or description is supported, but
the current implementation is first get all the shares, then In the API
layer, the for loop is used to achieve fuzzy matching, if the num of
shares is big,
It will seriously affect the speed of fuzzy matching.Therefore, we
should let the database do the matching to speed up the query.
Moving the pagination params (limit, offset, sorting) to the database
layer for snapshot list, to optimize query speed.

Closes-Bug:#1881865
Partial-Bug:#1831094

Change-Id: I283e78c9e7c2dd626d94cf6c1b01d4e2f9ae8097
2021-07-29 15:07:52 +08:00
..
__init__.py Address H104 File contains nothing but comments 2014-07-14 10:19:15 +02:00
api.py Add generic fuzzy matching logic to the database layer 2021-07-29 15:07:52 +08:00
models.py Remove unused model properties and increase unit test coverage 2021-03-23 09:27:48 -03:00
query.py Hacking: Fix E305 2020-04-01 11:43:29 +02:00
utils.py Support query user message by timestamp 2020-04-02 11:07:39 +08:00