beets/beets
Šarūnas Nejus c216b636ac
Fixup: make common fields use fast queries
I surprisingly found that many queries for fields that exist in the
database are 'slow'. Querying items with 'month:0' used a slow query
while 'title:0' used a fast one.

I found the mistake in the logic: the field existence in the db check
was done *after* prepending the table name to the field. This meant that
the logic wrongly checked e.g. 'items.field' instead of 'field'.

This commit fixes the above and renames the variables for more clarity.
2024-08-11 21:35:28 +01:00
..
autotag Remove redundant unicode decode 2024-08-04 15:03:53 +01:00
dbcore Fixup: make common fields use fast queries 2024-08-11 21:35:28 +01:00
test Configure plugins using PluginMixin.configure_plugin 2024-07-29 15:33:12 +01:00
ui Replace py3_path with builtin os.fsdecode 2024-06-16 00:52:37 +01:00
util Return paths from import files prep 2024-07-28 18:58:54 +01:00
__init__.py Fix formatting 2024-06-02 14:47:45 +10:00
__main__.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
art.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
config_default.yaml Remove fixme 2023-12-04 00:38:58 -05:00
importer.py Revert "Make queries fast, filter all flexible attributes (#5240)" 2024-06-19 21:51:44 +01:00
library.py Add support for filtering relations 2024-06-21 15:05:29 +01:00
logging.py A couple of small updates in the code 2024-06-05 04:41:02 +01:00
mediafile.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
plugins.py Make a change to test 2024-06-14 16:04:15 +01:00
random.py Make a random change for testing 2024-05-07 16:28:28 +01:00
vfs.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00