Immutable query builder compatible with the official Go/TypeScript filter helpers.
iex> alias ExFattureincloud.Filter
iex> Filter.where("name", :contains, "Rossi") |> Filter.and_where("active", :eq, true) |> Filter.build()
"(name contains 'Rossi' and active = true)"Pass build/1 directly as q:; Req URL-encodes it once. nil becomes null,
strings are quoted, booleans/numbers are unquoted. Apostrophes, backslashes and
control characters in string literals are rejected: the provider documents no
escaping contract for these values. Use a manually verified raw q if needed.
Field availability depends on the selected endpoint.
Summary
Functions
Combines two filters with parenthesized AND.
Combines an existing filter and a new condition with AND.
Combines two filters with parenthesized OR.
Returns the unencoded query string.
Combines an existing filter and a new condition with OR.
Builds one condition. Operators are atoms (e.g. :eq) or official strings (e.g. =).
Types
Functions
Combines two filters with parenthesized AND.
Combines an existing filter and a new condition with AND.
Combines two filters with parenthesized OR.
Returns the unencoded query string.
Combines an existing filter and a new condition with OR.
Builds one condition. Operators are atoms (e.g. :eq) or official strings (e.g. =).