Files
beets/beetsplug
Šarūnas Nejus 68eee96c03 Define InQuery and use it in PlaylistQuery
While working on the DB optimisation I discovered one query which does
not follow the 'FieldQuery' interface - 'PlaylistQuery', so I looked
into it in more detail.

One special thing about it is that it uses 'IN' SQL operator, so
I defined 'InQuery' query class to have this logic outside of the
playlist context.

Otherwise, it seems like 'PlaylistQuery' is a field query, even if it
has a very special way of resolving values it wants to query. In the
future, we may want to consider moving this kind of custom
_initialisation_ logic away from '__init__' methods to
factory/@classmethod: this should make it more clear that the purpose of
such logic is to resolve the data that is required to define
a particular FieldQuery class fully.
2024-04-30 22:20:36 +01:00
..
2023-10-22 09:53:18 +10:00
2023-12-25 17:14:45 -05:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-12-01 12:09:47 -05:00
2023-10-23 17:41:38 -04:00
2024-03-01 15:21:25 +10:00
2023-10-23 09:47:19 +08:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-12-20 10:28:45 -05:00
2023-10-22 09:53:18 +10:00
2023-12-23 12:19:04 -05:00
2023-10-22 09:53:18 +10:00
2023-12-05 13:49:03 +02:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2024-03-01 15:21:25 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2024-03-01 15:21:25 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-12-04 11:38:34 -05:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00
2023-10-22 09:53:18 +10:00