repl: ilike -> istartswith

This commit is contained in:
2025-05-17 18:58:32 +02:00
parent 240424b3f3
commit 85407b56aa

@ -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,
):