class libtmux-dotnet latest
QueryEdgeParser
Parses the one legacy lookup spelling this port still carries.
Source and package
- Module
- LibTmux.Query
- Package
- LibTmux
- Source
- src/LibTmux/Query/NameContainsLookupParser.cs
-
Description#
Python accepts a whole family of
field__operatorlookups. Onlyname__containssurvives here, as a migration aid for callers porting keyword-argument filters. New code writes an expression and lets translation build the document.This deliberately diverges from Python: there, an unrecognised operator falls back silently to an exact match. Answering a different question than the one asked is the failure this port refuses.
Members1 member#
Other members1 member#
- ParseNameContains method Parses a
name__containslookup into a query document.