FilterLookup
Builds a filter from a field__operator=value lookup written as text.
Source and package
- Qualified name
-
FilterLookup - Package
- libtmux-swift
- Source
- Sources/LibTmux/FilterLookup.swift
- enum FilterLookup : enum Filter
Lookup -
Description#
For a query that arrives as a string and so cannot be checked by the compiler: a command-line flag, a config file, a request from another process. The spelling is the one Django and Python libtmux both use, so a lookup written for either reads the same here.
Swift callers write
FilterExprfrom key paths instead and have the compiler check the field and its type; nothing inside the library routes through this.
Members1#
- parse(_:as:model:) method Builds an expression from one
field__operator=valuelookup.