repl: ilike -> istartswith

Tento commit je obsažen v:
2025-05-17 18:58:32 +02:00
rodič 240424b3f3
revize 85407b56aa

Zobrazit soubor

@@ -40,7 +40,7 @@ class InteractiveItemSelector(Cmd):
).all(),
complete_selection: Callable[[Session, type, str], list[str]] = lambda session, cls, text: session.scalars(
select(cls.name)
.where(cls.name.ilike(f'{text}%')),
.where(cls.name.istartswith(text)),
).all(),
default: Any | None = None,
):